]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: remove bond->lock
authorNikolay Aleksandrov <nikolay@redhat.com>
Tue, 9 Sep 2014 21:16:57 +0000 (23:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Sep 2014 00:31:35 +0000 (17:31 -0700)
commitdeea608331748deb180a3bba7024871f8cbca5aa
treededfc7ce6b37afe5586fc54639cfa9e848d8f6e0
parent5bcda6a5eff013eebe70289fc43f95fa83cd12e6
cxgb4: remove bond->lock

RTNL should be already held in the notifier call so the slave list can
be traversed without a problem, remove the unnecessary bond->lock.

CC: Hariprasad S <hariprasad@chelsio.com>
Signed-off-by: Nikolay Aleksandrov <nikolay@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c