diff options
author | Veaceslav Falico <vfalico@redhat.com> | 2013-09-27 16:11:57 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-09-28 15:27:59 -0700 |
commit | 3c4c88a138f0857b9e77266e09ad147d17629401 (patch) | |
tree | b7cb957d6edee3b07bb7d60270bc9449a17a55dd /drivers/sh | |
parent | 746844931ed400eef32edaa069b996eb622bc39a (diff) |
bonding: remove __get_next_port()
Currently this function is only used in constructs like
for (port = __get_first_port(bond); port; port = __get_next_port(port))
which is basicly the same as
bond_for_each_slave(bond, slave, iter) {
port = &(SLAVE_AD_INFO(slave).port);
but a more time consuming.
Remove the function and convert the users to bond_for_each_slave().
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/sh')
0 files changed, 0 insertions, 0 deletions