summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/qca8k.c
diff options
context:
space:
mode:
authorAndrew Lunn2019-02-24 20:44:43 +0100
committerDavid S. Miller2019-02-25 07:30:34 +0100
commit75104db0cb353ec0b74644d960640ac0f84ab839 (patch)
treed56f151d309a6e3d04e8d29b8503f09b9adcce24 /drivers/net/dsa/qca8k.c
parentnet: phy: fix reading fixed phy status (diff)
downloadkernel-qcow2-linux-75104db0cb353ec0b74644d960640ac0f84ab839.tar.gz
kernel-qcow2-linux-75104db0cb353ec0b74644d960640ac0f84ab839.tar.xz
kernel-qcow2-linux-75104db0cb353ec0b74644d960640ac0f84ab839.zip
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.c3
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;