]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: clean up bond_del_vlan()
authorJiri Bohac <jbohac@suse.cz>
Fri, 10 Jun 2011 10:27:20 +0000 (10:27 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 11 Jun 2011 23:13:29 +0000 (16:13 -0700)
commit27cb33238e302da9c390aef238d4371ec1fc9e62
tree945e3a5187560332c4acbfd6cefee93b19a97d21
parent10f5214094e9ea7f02a74d275332ceb0f29ed69b
bonding: clean up bond_del_vlan()

1) the setting of NETIF_F_VLAN_CHALLENGED in bond_del_vlan() is
useless since commit 0b7a1920 because bond_fix_features() now
sets NETIF_F_VLAN_CHALLENGED whenever the last slave is being
removed.

2) the code never triggers anyway as vlan_list is never empty
since c3892c42.

Signed-off-by: Jiri Bohac <jbohac@suse.cz>
Signed-off-by: Jay Vosburgh <fubar@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c