commit | e0974585e74cc16446bc0690f0545b72aa2a3485 | [log] [tgz] |
---|---|---|
author | Nikolay Aleksandrov <nikolay@redhat.com> | Mon Sep 15 17:19:35 2014 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Sep 15 17:19:50 2014 -0400 |
tree | 02f1d06b712e53d70a43ccb9f56ac05cffc2af0a | |
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>