diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-09-25 09:20:25 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-26 16:02:07 -0400 |
commit | c8c23903f12a62708606b5cdba8cd8550cd6bdcd (patch) | |
tree | 0ec00d047bf91019e91ff79384ea17244b81981f /drivers/net/bonding/bonding.h | |
parent | 5a52405a30abf70a60312ad4231385699f09cb85 (diff) | |
download | linux-stable-c8c23903f12a62708606b5cdba8cd8550cd6bdcd.tar.gz linux-stable-c8c23903f12a62708606b5cdba8cd8550cd6bdcd.tar.bz2 linux-stable-c8c23903f12a62708606b5cdba8cd8550cd6bdcd.zip |
bonding: remove bond_prev_slave()
We don't really need it, and it's really hard to RCUify the list->prev.
CC: Jay Vosburgh <fubar@us.ibm.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bonding/bonding.h')
-rw-r--r-- | drivers/net/bonding/bonding.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 3eb464cb8744..454d6affa06a 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -96,10 +96,6 @@ (bond_is_last_slave(bond, pos) ? bond_first_slave(bond) : \ bond_to_slave((pos)->list.next)) -#define bond_prev_slave(bond, pos) \ - (bond_is_first_slave(bond, pos) ? bond_last_slave(bond) : \ - bond_to_slave((pos)->list.prev)) - /** * bond_for_each_slave - iterate over all slaves * @bond: the bond holding this list |