From: Veaceslav Falico Date: Fri, 27 Sep 2013 14:12:01 +0000 (+0200) Subject: bonding: make ad_agg_selection_logic() use bond_for_each_slave() X-Git-Tag: v3.13-rc1~105^2~285 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bef1fcce41a317a068e6edd2232112afa7e05ab1;p=pandora-kernel.git 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 CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed