diff options
Diffstat (limited to 'drivers/net/bonding/bond_sysfs.c')
-rw-r--r-- | drivers/net/bonding/bond_sysfs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/bonding/bond_sysfs.c b/drivers/net/bonding/bond_sysfs.c index 4059bfc73dbf..bb1319f9f173 100644 --- a/drivers/net/bonding/bond_sysfs.c +++ b/drivers/net/bonding/bond_sysfs.c | |||
@@ -227,12 +227,6 @@ static ssize_t bonding_store_slaves(struct device *d, | |||
227 | struct net_device *dev; | 227 | struct net_device *dev; |
228 | struct bonding *bond = to_bond(d); | 228 | struct bonding *bond = to_bond(d); |
229 | 229 | ||
230 | /* Quick sanity check -- is the bond interface up? */ | ||
231 | if (!(bond->dev->flags & IFF_UP)) { | ||
232 | pr_warning("%s: doing slave updates when interface is down.\n", | ||
233 | bond->dev->name); | ||
234 | } | ||
235 | |||
236 | if (!rtnl_trylock()) | 230 | if (!rtnl_trylock()) |
237 | return restart_syscall(); | 231 | return restart_syscall(); |
238 | 232 | ||