net: dsa: Remove adjust_link paths
Now that we no longer any drivers using PHYLIB's adjust_link callback, remove all paths that made use of adjust_link as well as the associated functions. Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://lore.kernel.org/r/20240430164816.2400606-3-florian.fainelli@broadcom.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
ad3e1287c6
commit
8a021a863a
@@ -24,8 +24,6 @@
|
||||
|
||||
struct dsa_8021q_context;
|
||||
struct tc_action;
|
||||
struct phy_device;
|
||||
struct phylink_link_state;
|
||||
|
||||
#define DSA_TAG_PROTO_NONE_VALUE 0
|
||||
#define DSA_TAG_PROTO_BRCM_VALUE 1
|
||||
@@ -867,11 +865,6 @@ struct dsa_switch_ops {
|
||||
int (*phy_write)(struct dsa_switch *ds, int port,
|
||||
int regnum, u16 val);
|
||||
|
||||
/*
|
||||
* Link state adjustment (called from libphy)
|
||||
*/
|
||||
void (*adjust_link)(struct dsa_switch *ds, int port,
|
||||
struct phy_device *phydev);
|
||||
/*
|
||||
* PHYLINK integration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user