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

From: David Miller
Date: Sat May 24 2014 - 23:34:31 EST


From: <Wei.Yang@xxxxxxxxxxxxx>
Date: Sun, 25 May 2014 09:53:44 +0800

> From: Yang Wei <Wei.Yang@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/