Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1447330

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

From Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Newsgroups linux.kernel
Subject [PATCH net-next 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex
Date 2016-07-20 18:10 +0200
Message-ID <rX2em-3Bs-9@gated-at.bofh.it> (permalink)
References <rX2em-3Bs-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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(-)

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

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next 0/3] net: dsa: mv88e6xxx: rework EEPROM code Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-20 18:10 +0200
  [PATCH net-next 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-20 18:10 +0200
    Re: [PATCH net-next 1/3] net: dsa: mv88e6xxx: remove unused  phy_mutex David Miller <davem@davemloft.net> - 2016-07-21 00:00 +0200
  [PATCH net-next 2/3] net: dsa: mv88e6xxx: rework EEPROM access Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-20 18:10 +0200

csiph-web