bonding: make USES_PRIMARY inline functions
authorVeaceslav Falico <vfalico@gmail.com>
Thu, 15 May 2014 19:39:54 +0000 (21:39 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 May 2014 20:34:32 +0000 (16:34 -0400)
commitec0865a94991d1819d4f99866a2492af8df5c882
tree8b2e1a5987776e063e8a7dc1431e65394a7eef76
parent267bed777a5f8a8f5acd50a9134c7341fc46d822
bonding: make USES_PRIMARY inline functions

Change the name a bit to better reflect its scope, and update some
comments. Two functions added - one which takes bond as a param and the
other which takes the mode.

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