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 <ying.xue@windriver.com> Signed-off-by: Jon Maloy <jon.maloy@ericsson.com> Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
f1733d7580
commit
3c5db8e4ec
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user