bonding: replace SLAVE_IS_OK() with bond_slave_can_tx()
authorVeaceslav Falico <vfalico@gmail.com>
Thu, 15 May 2014 19:39:59 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:34:33 +0000 (16:34 -0400)
commit8557cd74ca8af9a71ae19d445e33d92bd50a6dc5
treec6ad54191e3ed0afc12f62cd5f546189058ec096
parent891ab54d6636b7aa0da48b5a5dd738af8b75cafe
bonding: replace SLAVE_IS_OK() with bond_slave_can_tx()

They're verifying the same thing (except of IFF_UP, which is implied for
netif_running(), which is also a prerequisite).

CC: Jay Vosburgh <j.vosburgh@gmail.com>
CC: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Veaceslav Falico <vfalico@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_3ad.c
drivers/net/bonding/bond_alb.c
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h