bonding: convert IS_UP(slave->dev) to inline function
authorVeaceslav Falico <vfalico@gmail.com>
Thu, 15 May 2014 19:39:57 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:34:32 +0000 (16:34 -0400)
commitb6adc610f183061bd607d965857870e618d229a6
tree6f4f597f0fec36063bf7ed66144f711de5d9e697
parent2807a9feb2393648f4db114fdf3fa99860ff6a36
bonding: convert IS_UP(slave->dev) to inline function

Also, remove the IFF_UP verification cause we can't be netif_running() with
being also IFF_UP.

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