diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-09-25 09:20:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-26 16:02:06 -0400 |
commit | b386c58b85b23c3a73baa014d01d2943ca8260cd (patch) | |
tree | 0f81ce7d3f3243e72b85accec913946023eeae5d /drivers/net/bonding | |
parent | 4087df87b868cef0dd19a9409b40fb9415503552 (diff) | |
download | blackbird-op-linux-b386c58b85b23c3a73baa014d01d2943ca8260cd.tar.gz blackbird-op-linux-b386c58b85b23c3a73baa014d01d2943ca8260cd.zip |
bonding: remove unused bond_for_each_slave_from()
It has no users, so we can remove it.
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')
-rw-r--r-- | drivers/net/bonding/bonding.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 96f571dd0bb6..7c8a4b128f65 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h @@ -94,19 +94,6 @@ bond_to_slave((pos)->list.prev)) /** - * bond_for_each_slave_from - iterate the slaves list from a starting point - * @bond: the bond holding this list. - * @pos: current slave. - * @cnt: counter for max number of moves - * @start: starting point. - * - * Caller must hold bond->lock - */ -#define bond_for_each_slave_from(bond, pos, cnt, start) \ - for (cnt = 0, pos = start; pos && cnt < (bond)->slave_cnt; \ - cnt++, pos = bond_next_slave(bond, pos)) - -/** * bond_for_each_slave - iterate over all slaves * @bond: the bond holding this list * @pos: current slave |