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)
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>

No differences found