aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/bonding/bond_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c
index 77d004d3c554..3ede0a2e6860 100644
--- a/drivers/net/bonding/bond_main.c
+++ b/drivers/net/bonding/bond_main.c
@@ -3401,9 +3401,7 @@ static int bond_master_netdev_event(unsigned long event, struct net_device *bond
3401 case NETDEV_CHANGENAME: 3401 case NETDEV_CHANGENAME:
3402 return bond_event_changename(event_bond); 3402 return bond_event_changename(event_bond);
3403 case NETDEV_UNREGISTER: 3403 case NETDEV_UNREGISTER:
3404 /* 3404 bond_release_all(event_bond->dev);
3405 * TODO: remove a bond from the list?
3406 */
3407 break; 3405 break;
3408 default: 3406 default:
3409 break; 3407 break;