aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc
diff options
context:
space:
mode:
Diffstat (limited to 'net/tipc')
-rw-r--r--net/tipc/bearer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/tipc/bearer.c b/net/tipc/bearer.c
index fd9c06c68281..9927d1d56c4f 100644
--- a/net/tipc/bearer.c
+++ b/net/tipc/bearer.c
@@ -556,8 +556,6 @@ restart:
556 } 556 }
557 557
558 b_ptr = &tipc_bearers[bearer_id]; 558 b_ptr = &tipc_bearers[bearer_id];
559 memset(b_ptr, 0, sizeof(struct bearer));
560
561 strcpy(b_ptr->publ.name, name); 559 strcpy(b_ptr->publ.name, name);
562 res = m_ptr->enable_bearer(&b_ptr->publ); 560 res = m_ptr->enable_bearer(&b_ptr->publ);
563 if (res) { 561 if (res) {