Skip to content
Commit cab6715c authored by Yang Wei's avatar Yang Wei Committed by David S. Miller
Browse files

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: default avatarYang Wei <Wei.Yang@windriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ea5930f4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment