diff options
author | Sebastian Andrzej Siewior <bigeasy@linutronix.de> | 2018-10-11 18:06:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-11 22:10:06 +0300 |
commit | 052858663db31bd1ead76744df5d39d8bb703c77 (patch) | |
tree | 798d792ae2975d6fe5d57b71edf952ba9e094c8a /drivers | |
parent | 511cfd580f23b0e0fcd5659931ef14c6e2c062b0 (diff) | |
download | linux-052858663db31bd1ead76744df5d39d8bb703c77.tar.xz |
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>
Diffstat (limited to 'drivers')
-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[] = { /* Give this long for the PHY to reset. */ #define T_PHY_RESET_MS 50 -static DEFINE_MUTEX(sfp_mutex); - struct sff_data { unsigned int gpios; bool (*module_supported)(const struct sfp_eeprom_id *id); |