Skip to content

Commit

Permalink
net: dsa: mv88e6xxx: remove unused phy_mutex
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vivien Didelot authored and David S. Miller committed Jul 21, 2016
1 parent e6c044f commit d467333
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions drivers/net/dsa/mv88e6xxx/mv88e6xxx.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit d467333

Please sign in to comment.