From: Veaceslav Falico Date: Fri, 27 Sep 2013 14:11:57 +0000 (+0200) Subject: bonding: remove __get_next_port() X-Git-Tag: v3.13-rc1~105^2~289 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4c88a138f0857b9e77266e09ad147d17629401;p=pandora-kernel.git bonding: remove __get_next_port() Currently this function is only used in constructs like for (port = __get_first_port(bond); port; port = __get_next_port(port)) which is basicly the same as bond_for_each_slave(bond, slave, iter) { port = &(SLAVE_AD_INFO(slave).port); but a more time consuming. Remove the function and convert the users to bond_for_each_slave(). CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed