diff options
Diffstat (limited to 'net/tipc/net.c')
-rw-r--r-- | net/tipc/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/tipc/net.c b/net/tipc/net.c index cc51fa483672..ec7b04fbdc43 100644 --- a/net/tipc/net.c +++ b/net/tipc/net.c | |||
@@ -165,7 +165,7 @@ static int net_init(void) | |||
165 | if (!tipc_net.zones) { | 165 | if (!tipc_net.zones) { |
166 | return -ENOMEM; | 166 | return -ENOMEM; |
167 | } | 167 | } |
168 | return TIPC_OK; | 168 | return 0; |
169 | } | 169 | } |
170 | 170 | ||
171 | static void net_stop(void) | 171 | static void net_stop(void) |
@@ -295,7 +295,7 @@ int tipc_net_start(u32 addr) | |||
295 | info("Started in network mode\n"); | 295 | info("Started in network mode\n"); |
296 | info("Own node address %s, network identity %u\n", | 296 | info("Own node address %s, network identity %u\n", |
297 | addr_string_fill(addr_string, tipc_own_addr), tipc_net_id); | 297 | addr_string_fill(addr_string, tipc_own_addr), tipc_net_id); |
298 | return TIPC_OK; | 298 | return 0; |
299 | } | 299 | } |
300 | 300 | ||
301 | void tipc_net_stop(void) | 301 | void tipc_net_stop(void) |