From: Veaceslav Falico Date: Wed, 25 Sep 2013 07:20:21 +0000 (+0200) Subject: bonding: add bond_has_slaves() and use it X-Git-Tag: v3.13-rc1~105^2~309^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0965a1f3f8757a2c20a16a83bc18279009d79a26;p=pandora-kernel.git bonding: add bond_has_slaves() and use it Currently we verify if we have slaves by checking if bond->slave_list is empty. Create a define bond_has_slaves() and use it, a bit more readable and easier to change in the future. CC: Jay Vosburgh CC: Andy Gospodarek Signed-off-by: Veaceslav Falico Signed-off-by: David S. Miller --- Reading git-diff-tree failed