diff options
| author | Ying Xue <[email protected]> | 2013-06-17 14:54:44 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2013-06-17 22:53:01 +0000 |
| commit | 3c5db8e4eca36e4f312b49bba99f4c1f6ce0563a (patch) | |
| tree | fb643984e5e69ac6adcb272bece27b56a7622fe2 /net/tipc/socket.c | |
| parent | tipc: remove user_port instance from tipc_port structure (diff) | |
| download | kernel-3c5db8e4eca36e4f312b49bba99f4c1f6ce0563a.tar.gz kernel-3c5db8e4eca36e4f312b49bba99f4c1f6ce0563a.zip | |
tipc: rename tipc_createport_raw to tipc_createport
After the removal of the native API, there is now only one way to
to create a TIPC port instance -- the function tipc_createport_raw().
We make it more readable by renaming it to tipc_createport().
Signed-off-by: Ying Xue <[email protected]>
Signed-off-by: Jon Maloy <[email protected]>
Signed-off-by: Paul Gortmaker <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/socket.c')
| -rw-r--r-- | net/tipc/socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 9510fe8acf45..67f4e1fbf5a1 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c @@ -195,8 +195,8 @@ static int tipc_sk_create(struct net *net, struct socket *sock, int protocol, return -ENOMEM; /* Allocate TIPC port for socket to use */ - tp_ptr = tipc_createport_raw(sk, &dispatch, &wakeupdispatch, - TIPC_LOW_IMPORTANCE); + tp_ptr = tipc_createport(sk, &dispatch, &wakeupdispatch, + TIPC_LOW_IMPORTANCE); if (unlikely(!tp_ptr)) { sk_free(sk); return -ENOMEM; |
