summaryrefslogtreecommitdiffstats
path: root/lib/mpi
diff options
context:
space:
mode:
authorVeaceslav Falico <vfalico@redhat.com>2013-09-27 16:11:59 +0200
committerDavid S. Miller <davem@davemloft.net>2013-09-28 15:28:01 -0700
commit3e36bb75ce32d0c14a736ca48480fe964491c7fc (patch)
treefff5e9489f5fd59134ba95d42bdc098815f59893 /lib/mpi
parentfe9323dae5a05eb3d582d5546219c601862dd082 (diff)
bonding: make ad_port_selection_logic() use bond_for_each_slave()
Currently, ad_port_selection_logic() uses for (aggregator = __get_first_agg(port); aggregator; aggregator = __get_next_agg(aggregator)) { construct, however it's suboptimal, difficult to read and understand. Change it to a standard bond_for_each_slave(), so that we won't need __get_first/next_agg() and have it more readable. 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 'lib/mpi')
0 files changed, 0 insertions, 0 deletions