net: dsa: mv88e6xxx: remove unused phy_mutex
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 20 Jul 2016 22:18:34 +0000 (18:18 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jul 2016 04:10:54 +0000 (21:10 -0700)
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>
drivers/net/dsa/mv88e6xxx/mv88e6xxx.h

index 899ca1d..99de41f 100644 (file)
@@ -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.
         */