bonding: remove unnecessary setup_by_slave member
authornikolay@redhat.com <nikolay@redhat.com>
Wed, 26 Jun 2013 15:13:37 +0000 (17:13 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Jun 2013 05:50:15 +0000 (22:50 -0700)
commit8d2ada77f8a7f8f65fcbf71b23cbac54b64151a6
treebf48e3ada33e8b2cc151c3a23adef15e188d85eb
parent3a36515f729458c8efa0c124c7262d5843ad5c37
bonding: remove unnecessary setup_by_slave member

We have a member called setup_by_slave in struct bonding to denote if the
bond dev has different type than ARPHRD_ETHER, but that is already denoted
in bond's netdev type variable if it was setup by the slave, so use that
instead of the member.

Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_main.c
drivers/net/bonding/bonding.h