Re: [PATCH v1] net: driver: stmicro: Remove some useless the lock protection

2014-05-23 Thread David Miller
From: Date: Fri, 23 May 2014 19:05:03 +0800 > From: Yang Wei > > 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 This does not apply cleanly to the net-next tr

[PATCH v1] net: driver: stmicro: Remove some useless the lock protection

2014-05-23 Thread Wei.Yang
From: Yang Wei 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 --- .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c |8 1 file changed, 8 deletions(-) d