diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-10-11 11:06:21 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-11 15:10:06 -0400 |
commit | 052858663db31bd1ead76744df5d39d8bb703c77 (patch) | |
tree | 798d792ae2975d6fe5d57b71edf952ba9e094c8a | |
parent | 511cfd580f23b0e0fcd5659931ef14c6e2c062b0 (diff) |
net: phy: sfp: remove sfp_mutex's definition
The sfp_mutex variable is defined but never used in this file. Not even
in the commit that introduced that variable.
Remove sfp_mutex, it has no purpose.
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/net/phy/sfp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/sfp.c b/drivers/net/phy/sfp.c index 6e13b8832bc7..fd8bb998ae52 100644 --- a/drivers/net/phy/sfp.c +++ b/drivers/net/phy/sfp.c | |||
@@ -163,8 +163,6 @@ static const enum gpiod_flags gpio_flags[] = { | |||
163 | /* Give this long for the PHY to reset. */ | 163 | /* Give this long for the PHY to reset. */ |
164 | #define T_PHY_RESET_MS 50 | 164 | #define T_PHY_RESET_MS 50 |
165 | 165 | ||
166 | static DEFINE_MUTEX(sfp_mutex); | ||
167 | |||
168 | struct sff_data { | 166 | struct sff_data { |
169 | unsigned int gpios; | 167 | unsigned int gpios; |
170 | bool (*module_supported)(const struct sfp_eeprom_id *id); | 168 | bool (*module_supported)(const struct sfp_eeprom_id *id); |