diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-02-24 20:44:43 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-24 22:30:34 -0800 |
commit | 75104db0cb353ec0b74644d960640ac0f84ab839 (patch) | |
tree | d56f151d309a6e3d04e8d29b8503f09b9adcce24 /drivers/net/dsa/lan9303-core.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/lan9303-core.c')
-rw-r--r-- | drivers/net/dsa/lan9303-core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/dsa/lan9303-core.c b/drivers/net/dsa/lan9303-core.c index b4f6e1a67dd9..2ffab7ee3d80 100644 --- a/drivers/net/dsa/lan9303-core.c +++ b/drivers/net/dsa/lan9303-core.c @@ -1091,8 +1091,7 @@ static int lan9303_port_enable(struct dsa_switch *ds, int port, return lan9303_enable_processing_port(chip, port); } -static void lan9303_port_disable(struct dsa_switch *ds, int port, - struct phy_device *phy) +static void lan9303_port_disable(struct dsa_switch *ds, int port) { struct lan9303 *chip = ds->priv; |