summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/ethtool.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-07-27 21:50:54 +0200
committerBen Hutchings <bhutchings@solarflare.com>2012-08-24 21:10:22 +0200
commit7bde852afc88909d78e617b70d3e7a3dc6bc04ff (patch)
tree96f2ff4d96c7f17b7c106a9370472eb6766c77cf /drivers/net/ethernet/sfc/ethtool.c
parentsfc: Fix reset vs probe/remove/PM races involving efx_nic::state (diff)
downloadlinux-7bde852afc88909d78e617b70d3e7a3dc6bc04ff.tar.xz
linux-7bde852afc88909d78e617b70d3e7a3dc6bc04ff.zip
sfc: Remove overly paranoid locking assertions from netdev operations
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/ethtool.c')
-rw-r--r--drivers/net/ethernet/sfc/ethtool.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/sfc/ethtool.c b/drivers/net/ethernet/sfc/ethtool.c
index 5d0e2a3241b1..2bd5c2d35e5d 100644
--- a/drivers/net/ethernet/sfc/ethtool.c
+++ b/drivers/net/ethernet/sfc/ethtool.c
@@ -529,8 +529,6 @@ static void efx_ethtool_self_test(struct net_device *net_dev,
if (!efx_tests)
goto fail;
-
- ASSERT_RTNL();
if (efx->state != STATE_READY) {
rc = -EIO;
goto fail1;