diff options
Diffstat (limited to 'net/tipc/eth_media.c')
-rw-r--r-- | net/tipc/eth_media.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/net/tipc/eth_media.c b/net/tipc/eth_media.c index 236155c67aa0..cd0a4b8b0ecf 100644 --- a/net/tipc/eth_media.c +++ b/net/tipc/eth_media.c | |||
@@ -371,8 +371,6 @@ int tipc_eth_media_start(void) | |||
371 | if (eth_started) | 371 | if (eth_started) |
372 | return -EINVAL; | 372 | return -EINVAL; |
373 | 373 | ||
374 | memset(eth_bearers, 0, sizeof(eth_bearers)); | ||
375 | |||
376 | res = tipc_register_media(ð_media_info); | 374 | res = tipc_register_media(ð_media_info); |
377 | if (res) | 375 | if (res) |
378 | return res; | 376 | return res; |
@@ -396,6 +394,5 @@ void tipc_eth_media_stop(void) | |||
396 | 394 | ||
397 | flush_scheduled_work(); | 395 | flush_scheduled_work(); |
398 | unregister_netdevice_notifier(¬ifier); | 396 | unregister_netdevice_notifier(¬ifier); |
399 | memset(ð_bearers, 0, sizeof(eth_bearers)); | ||
400 | eth_started = 0; | 397 | eth_started = 0; |
401 | } | 398 | } |