diff options
author | Nikolay Aleksandrov <nikolay@redhat.com> | 2014-09-15 17:19:35 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-15 17:19:50 -0400 |
commit | e0974585e74cc16446bc0690f0545b72aa2a3485 (patch) | |
tree | 02f1d06b712e53d70a43ccb9f56ac05cffc2af0a /net/dsa/dsa.c | |
parent | 547942cace50e536dcda9ce8397792bc992291d6 (diff) |
bonding: consolidate ASSERT_RTNL()s and remove the unnecessary
Consolidate the calls to ASSERT_RTNL() before bond_select_active_slave()
inside bond_select_active_slave() itself and remove the ASSERT_RTNL()
from bond_hw_addr_swap() as it's not exported and its only caller -
bond_change_active_slave() already has an ASSERT_RTNL().
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/dsa.c')
0 files changed, 0 insertions, 0 deletions