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>
This commit is contained in:

committed by
David S. Miller

parent
0f3b1cf23f
commit
75104db0cb
@@ -380,7 +380,7 @@ int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy)
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(ksz_enable_port);
|
||||
|
||||
void ksz_disable_port(struct dsa_switch *ds, int port, struct phy_device *phy)
|
||||
void ksz_disable_port(struct dsa_switch *ds, int port)
|
||||
{
|
||||
struct ksz_device *dev = ds->priv;
|
||||
|
||||
|
@@ -35,7 +35,7 @@ void ksz_port_mdb_add(struct dsa_switch *ds, int port,
|
||||
int ksz_port_mdb_del(struct dsa_switch *ds, int port,
|
||||
const struct switchdev_obj_port_mdb *mdb);
|
||||
int ksz_enable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
|
||||
void ksz_disable_port(struct dsa_switch *ds, int port, struct phy_device *phy);
|
||||
void ksz_disable_port(struct dsa_switch *ds, int port);
|
||||
|
||||
/* Common register access functions */
|
||||
|
||||
|
Reference in New Issue
Block a user