diff options
author | Ying Xue <ying.xue@windriver.com> | 2012-08-16 14:09:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-20 11:26:30 +0200 |
commit | 379c0456afc170d56ceb712a5689ede91d293e88 (patch) | |
tree | 6118e094f24d8160dda7bcad5250e3fa22e5c2ba /net/tipc/net.h | |
parent | tipc: manually inline single use media_name_valid routine (diff) | |
download | linux-379c0456afc170d56ceb712a5689ede91d293e88.tar.xz linux-379c0456afc170d56ceb712a5689ede91d293e88.zip |
tipc: change tipc_net_start routine return value type
Since now tipc_net_start() always returns a success code - 0, its
return value type should be changed from integer to void, which can
avoid unnecessary check for its return value.
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/net.h')
-rw-r--r-- | net/tipc/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/net.h b/net/tipc/net.h index 9eb4b9e220eb..079daadb3f72 100644 --- a/net/tipc/net.h +++ b/net/tipc/net.h @@ -41,7 +41,7 @@ extern rwlock_t tipc_net_lock; void tipc_net_route_msg(struct sk_buff *buf); -int tipc_net_start(u32 addr); +void tipc_net_start(u32 addr); void tipc_net_stop(void); #endif |