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

From: David Miller
Date: Fri May 23 2014 - 16:13:08 EST


From: <Wei.Yang@xxxxxxxxxxxxx>
Date: Fri, 23 May 2014 19:05:03 +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>

This does not apply cleanly to the net-next tree, please respin.
--
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/