diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-02-24 14:44:43 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-25 01:30:34 -0500 |
commit | 75104db0cb353ec0b74644d960640ac0f84ab839 (patch) | |
tree | d56f151d309a6e3d04e8d29b8503f09b9adcce24 /drivers/net/dsa/microchip/ksz_common.c | |
parent | 0f3b1cf23f0ee72017ee6daebcf6cbe601be8bee (diff) |
dsa: Remove phydev parameter from disable_port call
No current DSA driver makes use of the phydev parameter passed to the
disable_port call. Remove it.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
-rw-r--r-- | drivers/net/dsa/microchip/ksz_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/microchip/ksz_common.c b/drivers/net/dsa/microchip/ksz_common.c index d89c97724c35..9328b88849d2 100644 --- a/drivers/net/dsa/microchip/ksz_common.c +++ b/drivers/net/dsa/microchip/ksz_common.c | |||
@@ -380,7 +380,7 @@ int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy) | |||
380 | } | 380 | } |
381 | EXPORT_SYMBOL_GPL(ksz_enable_port); | 381 | EXPORT_SYMBOL_GPL(ksz_enable_port); |
382 | 382 | ||
383 | void ksz_disable_port(struct dsa_switch *ds, int port, struct phy_device *phy) | 383 | void ksz_disable_port(struct dsa_switch *ds, int port) |
384 | { | 384 | { |
385 | struct ksz_device *dev = ds->priv; | 385 | struct ksz_device *dev = ds->priv; |
386 | 386 | ||