diff options
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/config.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/tipc/config.c b/net/tipc/config.c index a4988cdbde6d..843d7ae04661 100644 --- a/net/tipc/config.c +++ b/net/tipc/config.c | |||
@@ -506,8 +506,6 @@ void tipc_cfg_reinit(void) | |||
506 | 506 | ||
507 | void tipc_cfg_stop(void) | 507 | void tipc_cfg_stop(void) |
508 | { | 508 | { |
509 | if (config_port_ref) { | 509 | tipc_deleteport(config_port_ref); |
510 | tipc_deleteport(config_port_ref); | 510 | config_port_ref = 0; |
511 | config_port_ref = 0; | ||
512 | } | ||
513 | } | 511 | } |