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


Groups > linux.kernel > #1447507 > unrolled thread

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

Started byVivien Didelot <vivien.didelot@savoirfairelinux.com>
First post2016-07-21 00:20 +0200
Last post2016-07-21 02:40 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH net-next v2 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2016-07-21 00:20 +0200
    Re: [PATCH net-next v2 1/3] net: dsa: mv88e6xxx: remove unused  phy_mutex Andrew Lunn <andrew@lunn.ch> - 2016-07-21 02:40 +0200

#1447507 — [PATCH net-next v2 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex

FromVivien Didelot <vivien.didelot@savoirfairelinux.com>
Date2016-07-21 00:20 +0200
Subject[PATCH net-next v2 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex
Message-ID<rX80p-7jq-1@gated-at.bofh.it>
Only reg_lock is necessary now and phy_mutex is dead. Remove it.

Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
---
 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

[toc] | [next] | [standalone]


#1447549 — Re: [PATCH net-next v2 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex

FromAndrew Lunn <andrew@lunn.ch>
Date2016-07-21 02:40 +0200
SubjectRe: [PATCH net-next v2 1/3] net: dsa: mv88e6xxx: remove unused phy_mutex
Message-ID<rXabT-8r-1@gated-at.bofh.it>
In reply to#1447507
On Wed, Jul 20, 2016 at 06:18:34PM -0400, Vivien Didelot wrote:
> 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>

    Andrew

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web