]> git.baikalelectronics.ru Git - kernel.git/commit
bonding: make bond_3ad_unbind_slave() use bond_for_each_slave()
authorVeaceslav Falico <vfalico@redhat.com>
Fri, 27 Sep 2013 14:12:02 +0000 (16:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Sep 2013 22:28:03 +0000 (15:28 -0700)
commit5b98766016367bec5f9aa8a9c538f16663ffe2f1
treea154b9e32fec38d7a88437df4c99cb0996ad9c64
parent85f7f22c23e8fec578c7d723198a55ffdcb65cf8
bonding: make bond_3ad_unbind_slave() use bond_for_each_slave()

Convert all instances of

for (agg = __get_first_agg(); agg; agg = __get_next_port)

to the standard 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>
drivers/net/bonding/bond_3ad.c