diff mbox

[net-next,1/3] net: dsa: mv88e6xxx: remove unused phy_mutex

Message ID 20160720160547.30133-2-vivien.didelot@savoirfairelinux.com
State Changes Requested, archived
Delegated to: David Miller
Headers show

Commit Message

Vivien Didelot July 20, 2016, 4:05 p.m. UTC
Only reg_lock is necessary now and phy_mutex is dead. Remove it.
---
 drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 6 ------
 1 file changed, 6 deletions(-)

Comments

David Miller July 20, 2016, 9:57 p.m. UTC | #1
From: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Date: Wed, 20 Jul 2016 12:05:45 -0400

> Only reg_lock is necessary now and phy_mutex is dead. Remove it.
> ---
>  drivers/net/dsa/mv88e6xxx/mv88e6xxx.h | 6 ------
>  1 file changed, 6 deletions(-)

Missing a proper Signoff.
diff mbox

Patch

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.
 	 */