]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9b04d8ef1ba3f5ae443a7f7097ca1fdddd9262b4
tree6118e094f24d8160dda7bcad5250e3fa22e5c2ba
parent8aca4583022a0331c278228c74ebc99303830c6f
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