summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVeaceslav Falico <vfalico@redhat.com>2013-09-27 18:12:01 +0400
committerDavid S. Miller <davem@davemloft.net>2013-09-29 02:28:03 +0400
commitbef1fcce41a317a068e6edd2232112afa7e05ab1 (patch)
tree7dacec927c1c4f5def2987661e462289365feceb /tools/perf/scripts/python
parent19177e7d554eba7e73d5eadc2c742d602bbec5ae (diff)
downloadlinux-bef1fcce41a317a068e6edd2232112afa7e05ab1.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions