projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
992b7d5
)
net: dsa: remove definition of struct dsa_switch_driver
author
Heiner Kallweit
<hkallweit1@gmail.com>
Wed, 12 Nov 2025 20:46:24 +0000
(21:46 +0100)
committer
Jakub Kicinski
<kuba@kernel.org>
Fri, 14 Nov 2025 01:40:22 +0000
(17:40 -0800)
Since
93e86b3bc842
("net: dsa: Remove legacy probing support")
this struct has no user any longer.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Link:
https://patch.msgid.link/4053a98f-052f-4dc1-a3d4-ed9b3d3cc7cb@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h
patch
|
blob
|
history
diff --git
a/include/net/dsa.h
b/include/net/dsa.h
index
2df2e2e
..
97d5f40
100644
(file)
--- a/
include/net/dsa.h
+++ b/
include/net/dsa.h
@@
-1314,11
+1314,6
@@
static inline int dsa_devlink_port_to_port(struct devlink_port *port)
return port->index;
}
-struct dsa_switch_driver {
- struct list_head list;
- const struct dsa_switch_ops *ops;
-};
-
bool dsa_fdb_present_in_other_db(struct dsa_switch *ds, int port,
const unsigned char *addr, u16 vid,
struct dsa_db db);