From: Emil Goode Date: Mon, 2 Jun 2014 09:30:50 +0000 (+0200) Subject: stmmac: Remove spin_lock call in stmmac_get_pauseparam() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~105 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=86c92ee3a2a22bf87537072f0f2021089ab87395;p=pandora-kernel.git stmmac: Remove spin_lock call in stmmac_get_pauseparam() The following patch removed unnecessary spin_lock/unlock calls in ethtool_ops callback functions. In the second and final version of the patch one spin_lock call was left behind. commit cab6715c3e8029e98b0b5d4056ceda007c0f6380 Author: Yang Wei Date: Sun May 25 09:53:44 2014 +0800 net: driver: stmicro: Remove some useless the lock protection This introduced the following sparse warning: drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c:424:1: warning: context imbalance in 'stmmac_get_pauseparam' - different lock contexts for basic block Signed-off-by: Emil Goode Signed-off-by: David S. Miller --- Reading git-diff-tree failed