projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dcb3fba
)
net: dsa: Remove fixed_link_update member
author
Florian Fainelli
<florian.fainelli@broadcom.com>
Tue, 30 Apr 2024 16:48:15 +0000
(09:48 -0700)
committer
Jakub Kicinski
<kuba@kernel.org>
Thu, 2 May 2024 02:06:32 +0000
(19:06 -0700)
We have not had a switch driver use a fixed_link_update callback since
58d56fcc3964f9be0a9ca42fd126bcd9dc7afc90
("net: dsa: bcm_sf2: Get rid of
PHYLIB functions") remove this callback.
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-2-florian.fainelli@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h
patch
|
blob
|
blame
|
history
diff --git
a/include/net/dsa.h
b/include/net/dsa.h
index a6ef7e4c503ff39a184292ca5e40ee84704ab7c4..678f1fd8b18933d2ee77cfffde56b189a4295805 100644
(file)
--- a/
include/net/dsa.h
+++ b/
include/net/dsa.h
@@
-25,7
+25,6
@@
struct dsa_8021q_context;
struct tc_action;
struct phy_device;
-struct fixed_phy_status;
struct phylink_link_state;
#define DSA_TAG_PROTO_NONE_VALUE 0
@@
-873,9
+872,6
@@
struct dsa_switch_ops {
*/
void (*adjust_link)(struct dsa_switch *ds, int port,
struct phy_device *phydev);
- void (*fixed_link_update)(struct dsa_switch *ds, int port,
- struct fixed_phy_status *st);
-
/*
* PHYLINK integration
*/