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 /include/net | |
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 'include/net')
-rw-r--r-- | include/net/dsa.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h index 2c2c10812814..e8ac5b35ac4a 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -364,8 +364,7 @@ struct dsa_switch_ops { */ int (*port_enable)(struct dsa_switch *ds, int port, struct phy_device *phy); - void (*port_disable)(struct dsa_switch *ds, int port, - struct phy_device *phy); + void (*port_disable)(struct dsa_switch *ds, int port); /* * Port's MAC EEE settings |