bonding: convert bond_has_slaves() to use the neighbour list
authorVeaceslav Falico <vfalico@redhat.com>
Wed, 25 Sep 2013 07:20:22 +0000 (09:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Sep 2013 20:02:06 +0000 (16:02 -0400)
commit70039aa7c6c182c488ec23a9669d9f6b21aebe16
treee6f943378b98ac2ed876e4f3c94f1887163df151
parent0965a1f3f8757a2c20a16a83bc18279009d79a26
bonding: convert bond_has_slaves() to use the neighbour list

The same way as it was used for its own slave_list.

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>
drivers/net/bonding/bonding.h