diff options
Diffstat (limited to 'drivers/net/bonding/bond_main.c')
-rw-r--r-- | drivers/net/bonding/bond_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bonding/bond_main.c b/drivers/net/bonding/bond_main.c index 223517dcbcfd..6287ffbda7f7 100644 --- a/drivers/net/bonding/bond_main.c +++ b/drivers/net/bonding/bond_main.c | |||
@@ -4345,8 +4345,8 @@ static void bond_free_all(void) | |||
4345 | bond_mc_list_destroy(bond); | 4345 | bond_mc_list_destroy(bond); |
4346 | /* Release the bonded slaves */ | 4346 | /* Release the bonded slaves */ |
4347 | bond_release_all(bond_dev); | 4347 | bond_release_all(bond_dev); |
4348 | unregister_netdevice(bond_dev); | ||
4349 | bond_deinit(bond_dev); | 4348 | bond_deinit(bond_dev); |
4349 | unregister_netdevice(bond_dev); | ||
4350 | } | 4350 | } |
4351 | 4351 | ||
4352 | #ifdef CONFIG_PROC_FS | 4352 | #ifdef CONFIG_PROC_FS |