bonding: consolidate ASSERT_RTNL()s and remove the unnecessary
authorNikolay Aleksandrov <nikolay@redhat.com>
Mon, 15 Sep 2014 15:19:35 +0000 (17:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Sep 2014 21:19:50 +0000 (17:19 -0400)
commite0974585e74cc16446bc0690f0545b72aa2a3485
tree02f1d06b712e53d70a43ccb9f56ac05cffc2af0a
parent547942cace50e536dcda9ce8397792bc992291d6
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>
drivers/net/bonding/bond_main.c
This page took 0.02495 seconds and 5 git commands to generate.