]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita4f6e22fea7fcfd7469fcf48f06124f73a0e4445
treec6ad54191e3ed0afc12f62cd5f546189058ec096
parent3989a6b2e1835e4099f5ac4929bca65aee5799e7
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