|
@@ -5181,7 +5181,6 @@ static int __init bonding_init(void)
|
|
{
|
|
{
|
|
int i;
|
|
int i;
|
|
int res;
|
|
int res;
|
|
- struct bonding *bond;
|
|
|
|
|
|
|
|
printk(KERN_INFO "%s", version);
|
|
printk(KERN_INFO "%s", version);
|
|
|
|
|
|
@@ -5212,13 +5211,6 @@ static int __init bonding_init(void)
|
|
|
|
|
|
goto out;
|
|
goto out;
|
|
err:
|
|
err:
|
|
- list_for_each_entry(bond, &bond_dev_list, bond_list) {
|
|
|
|
- bond_work_cancel_all(bond);
|
|
|
|
- destroy_workqueue(bond->wq);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- bond_destroy_sysfs();
|
|
|
|
-
|
|
|
|
rtnl_lock();
|
|
rtnl_lock();
|
|
bond_free_all();
|
|
bond_free_all();
|
|
rtnl_unlock();
|
|
rtnl_unlock();
|