summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2025-11-12 23:46:24 +0300
committerJakub Kicinski <kuba@kernel.org>2025-11-14 04:40:22 +0300
commit4aa73c6051cb65046e6fa601b7877b5c1e6edc85 (patch)
treeecd2f050488f3766b8799367f350ca99da9cbd2a /include
parent992b7d5fd8a889dc77e384143ad5b4f5fe2a70de (diff)
downloadlinux-4aa73c6051cb65046e6fa601b7877b5c1e6edc85.tar.xz
net: dsa: remove definition of struct dsa_switch_driver
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/dsa.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 2df2e2ead9a8..97d5f401cfcf 100644
--- 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);