tipc: change tipc_net_start routine return value type
authorYing Xue <ying.xue@windriver.com>
Thu, 16 Aug 2012 12:09:10 +0000 (12:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Aug 2012 09:26:30 +0000 (02:26 -0700)
commit379c0456afc170d56ceb712a5689ede91d293e88
tree6118e094f24d8160dda7bcad5250e3fa22e5c2ba
parent381294331ed2858f8e75223310f873d580921366
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>
net/tipc/core.c
net/tipc/net.c
net/tipc/net.h