kernel_optimize_test/drivers/net/bonding
Veaceslav Falico bef1fcce41 bonding: make ad_agg_selection_logic() 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(). Also, remove the useless checks
before calling bond_3ad_set_carrier() - if we have something NULL - it
would fire long ago, in __get_first/next_port(), per example.

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>
2013-09-28 15:28:03 -07:00
..
bond_3ad.c bonding: make ad_agg_selection_logic() use bond_for_each_slave() 2013-09-28 15:28:03 -07:00
bond_3ad.h bonding: fix multiple 3ad mode sysfs race conditions 2013-05-19 23:25:49 -07:00
bond_alb.c bonding: add bond_has_slaves() and use it 2013-09-26 16:02:06 -04:00
bond_alb.h bonding: rework rlb_next_rx_slave() to use bond_for_each_slave() 2013-09-26 16:02:05 -04:00
bond_debugfs.c
bond_main.c bonding: correctly verify for the first slave in bond_enslave 2013-09-28 15:27:32 -07:00
bond_procfs.c bonding: make bond_for_each_slave() use lower neighbour's private 2013-09-26 16:02:05 -04:00
bond_sysfs.c net: create sysfs symlinks for neighbour devices 2013-09-26 16:02:08 -04:00
bonding.h net: create sysfs symlinks for neighbour devices 2013-09-26 16:02:08 -04:00
Makefile