Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 102637
b: refs/heads/master
c: 8047637
h: refs/heads/master
i:
  102635: 4329a04
v: v3
  • Loading branch information
Pavel Emelyanov authored and Jeff Garzik committed May 22, 2008
1 parent d01cca8 commit 91fd141
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0883beca7f39ab0c6447af35080e5caaa07418e3
refs/heads/master: 8047637c70e4451e2ac1c17ed9a91a2f753daae7
6 changes: 0 additions & 6 deletions trunk/drivers/net/bonding/bond_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2433,9 +2433,6 @@ static int bond_has_this_ip(struct bonding *bond, __be32 ip)
if (ip == bond->master_ip)
return 1;

if (list_empty(&bond->vlan_list))
return 0;

list_for_each_entry(vlan, &bond->vlan_list, vlan_list) {
if (ip == vlan->vlan_ip)
return 1;
Expand Down Expand Up @@ -3495,9 +3492,6 @@ static int bond_inetaddr_event(struct notifier_block *this, unsigned long event,
}
}

if (list_empty(&bond->vlan_list))
continue;

list_for_each_entry(vlan, &bond->vlan_list, vlan_list) {
vlan_dev = vlan_group_get_device(bond->vlgrp, vlan->vlan_id);
if (vlan_dev == event_dev) {
Expand Down

0 comments on commit 91fd141

Please sign in to comment.