aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/core.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc/core.c')
-rw-r--r--net/tipc/core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tipc/core.c b/net/tipc/core.c
index b0e42a087291..15bbe99b609d 100644
--- a/net/tipc/core.c
+++ b/net/tipc/core.c
@@ -2,7 +2,7 @@
2 * net/tipc/core.c: TIPC module code 2 * net/tipc/core.c: TIPC module code
3 * 3 *
4 * Copyright (c) 2003-2006, Ericsson AB 4 * Copyright (c) 2003-2006, Ericsson AB
5 * Copyright (c) 2005-2006, 2010-2011, Wind River Systems 5 * Copyright (c) 2005-2006, 2010-2013, Wind River Systems
6 * All rights reserved. 6 * All rights reserved.
7 * 7 *
8 * Redistribution and use in source and binary forms, with or without 8 * Redistribution and use in source and binary forms, with or without
@@ -137,8 +137,6 @@ static int tipc_core_start(void)
137 if (!res) 137 if (!res)
138 res = tipc_nametbl_init(); 138 res = tipc_nametbl_init();
139 if (!res) 139 if (!res)
140 res = tipc_subscr_start();
141 if (!res)
142 res = tipc_cfg_init(); 140 res = tipc_cfg_init();
143 if (!res) 141 if (!res)
144 res = tipc_netlink_start(); 142 res = tipc_netlink_start();
@@ -146,6 +144,8 @@ static int tipc_core_start(void)
146 res = tipc_socket_init(); 144 res = tipc_socket_init();
147 if (!res) 145 if (!res)
148 res = tipc_register_sysctl(); 146 res = tipc_register_sysctl();
147 if (!res)
148 res = tipc_subscr_start();
149 if (res) 149 if (res)
150 tipc_core_stop(); 150 tipc_core_stop();
151 151