aboutsummaryrefslogtreecommitdiff
path: root/net/tipc/net.h
diff options
context:
space:
mode:
authorYing Xue2012-08-16 12:09:10 +0000
committerDavid S. Miller2012-08-20 02:26:30 -0700
commit379c0456afc170d56ceb712a5689ede91d293e88 (patch)
tree6118e094f24d8160dda7bcad5250e3fa22e5c2ba /net/tipc/net.h
parent381294331ed2858f8e75223310f873d580921366 (diff)
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.h2
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