From: Heiner Kallweit Date: Wed, 12 Nov 2025 20:46:24 +0000 (+0100) Subject: net: dsa: remove definition of struct dsa_switch_driver X-Git-Tag: v6.19-rc1~170^2~169 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4aa73c6051cb65046e6fa601b7877b5c1e6edc85;p=thirdparty%2Fkernel%2Flinux.git 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 Reviewed-by: Vladimir Oltean Link: https://patch.msgid.link/4053a98f-052f-4dc1-a3d4-ed9b3d3cc7cb@gmail.com Signed-off-by: Jakub Kicinski --- diff --git a/include/net/dsa.h b/include/net/dsa.h index 2df2e2ead9a81..97d5f401cfcf9 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);