diff options
author | Ying Xue <ying.xue@windriver.com> | 2013-06-17 10:54:44 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-17 18:53:01 -0400 |
commit | 3c5db8e4eca36e4f312b49bba99f4c1f6ce0563a (patch) | |
tree | fb643984e5e69ac6adcb272bece27b56a7622fe2 /net/tipc/port.c | |
parent | f1733d7580ff94deb8ea071a293c23939ae0d450 (diff) |
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>
Diffstat (limited to 'net/tipc/port.c')
-rw-r--r-- | net/tipc/port.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/port.c b/net/tipc/port.c index f628c84a8f61..84b2a574f161 100644 --- a/net/tipc/port.c +++ b/net/tipc/port.c | |||
@@ -202,11 +202,11 @@ exit: | |||
202 | } | 202 | } |
203 | 203 | ||
204 | /** | 204 | /** |
205 | * tipc_createport_raw - create a generic TIPC port | 205 | * tipc_createport - create a generic TIPC port |
206 | * | 206 | * |
207 | * Returns pointer to (locked) TIPC port, or NULL if unable to create it | 207 | * Returns pointer to (locked) TIPC port, or NULL if unable to create it |
208 | */ | 208 | */ |
209 | struct tipc_port *tipc_createport_raw(void *usr_handle, | 209 | struct tipc_port *tipc_createport(void *usr_handle, |
210 | u32 (*dispatcher)(struct tipc_port *, struct sk_buff *), | 210 | u32 (*dispatcher)(struct tipc_port *, struct sk_buff *), |
211 | void (*wakeup)(struct tipc_port *), | 211 | void (*wakeup)(struct tipc_port *), |
212 | const u32 importance) | 212 | const u32 importance) |