From: Vivien Didelot Date: Wed, 20 Jul 2016 22:18:34 +0000 (-0400) Subject: net: dsa: mv88e6xxx: remove unused phy_mutex X-Git-Tag: v4.8-rc1~140^2~52^2~2 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=d4673339ce22f1d65ebe05bbdaadabf4efb13d18;p=linux.git net: dsa: mv88e6xxx: remove unused phy_mutex Only reg_lock is necessary now and phy_mutex is dead. Remove it. Signed-off-by: Vivien Didelot Reviewed-by: Andrew Lunn Signed-off-by: David S. Miller --- diff --git a/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h b/drivers/net/dsa/mv88e6xxx/mv88e6xxx.h index 899ca1d2afc3..99de41fc90a6 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. */