diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-02-24 22:44:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-25 09:30:34 +0300 |
commit | 75104db0cb353ec0b74644d960640ac0f84ab839 (patch) | |
tree | d56f151d309a6e3d04e8d29b8503f09b9adcce24 /drivers/net/dsa/qca8k.c | |
parent | 0f3b1cf23f0ee72017ee6daebcf6cbe601be8bee (diff) | |
download | linux-75104db0cb353ec0b74644d960640ac0f84ab839.tar.xz |
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/qca8k.c')
-rw-r--r-- | drivers/net/dsa/qca8k.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index 195a8a87b984..576b37d12a63 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -801,8 +801,7 @@ qca8k_port_enable(struct dsa_switch *ds, int port, } static void -qca8k_port_disable(struct dsa_switch *ds, int port, - struct phy_device *phy) +qca8k_port_disable(struct dsa_switch *ds, int port) { struct qca8k_priv *priv = (struct qca8k_priv *)ds->priv; |