summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
diff options
context:
space:
mode:
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>2016-07-20 18:18:34 -0400
committerDavid S. Miller <davem@davemloft.net>2016-07-20 21:10:54 -0700
commitd4673339ce22f1d65ebe05bbdaadabf4efb13d18 (patch)
tree4def731b8960817da6fb69ac49f4ff77cfb9e04e /drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
parente6c044f5f68e0071e94829c62dbb2549e44a09e9 (diff)
downloadop-kernel-dev-d4673339ce22f1d65ebe05bbdaadabf4efb13d18.zip
op-kernel-dev-d4673339ce22f1d65ebe05bbdaadabf4efb13d18.tar.gz
net: dsa: mv88e6xxx: remove unused phy_mutex
Only reg_lock is necessary now and phy_mutex is dead. Remove it. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/mv88e6xxx/mv88e6xxx.h')
-rw-r--r--drivers/net/dsa/mv88e6xxx/mv88e6xxx.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
index 899ca1d..99de41f 100644
--- a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
+++ b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
@@ -629,12 +629,6 @@ struct mv88e6xxx_chip {
*/
struct mutex stats_mutex;
- /* This mutex serializes phy access for chips with
- * indirect phy addressing. It is unused for chips
- * with direct phy access.
- */
- struct mutex phy_mutex;
-
/* This mutex serializes eeprom access for chips with
* eeprom support.
*/
OpenPOWER on IntegriCloud