net: driver: stmicro: Remove some useless the lock protection
authorYang Wei <Wei.Yang@windriver.com>
Sun, 25 May 2014 01:53:44 +0000 (09:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 25 May 2014 03:32:53 +0000 (23:32 -0400)
commitcab6715c3e8029e98b0b5d4056ceda007c0f6380
tree800bf1b408f971145ff72f8b98c30f62b7737843
parentea5930f4e1328cad5893d4f0a90edb2ff5693206
net: driver: stmicro: Remove some useless the lock protection

kernel always invokes a pair of rtnl_lock adn rtnl_unlock to
protect dev_ethtool(), so its not neccessary to invoke spin_lock/unlock
in ethtool_ops.

Signed-off-by: Yang Wei <Wei.Yang@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c