]> www.infradead.org Git - users/dwmw2/linux.git/commit
net: dsa: remove obsolete phylink dsa_switch operations
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Thu, 3 Oct 2024 11:52:17 +0000 (12:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Mon, 7 Oct 2024 23:23:10 +0000 (16:23 -0700)
commit539770616521e5b046ca7612eb79ba11b53edb1d
tree9e4076d4294a5e9f83f8cd8d08b09550d3c0350c
parent269084f748524fa1a3fb8eb530eb70f77e7c3e4a
net: dsa: remove obsolete phylink dsa_switch operations

No driver now uses the DSA switch phylink members, so we can now remove
the method pointers, but we need to leave empty shim functions to allow
those drivers that do not provide phylink MAC operations structure to
continue functioning.

Signed-off-by: Russell King (oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Tested-by: Vladimir Oltean <vladimir.oltean@nxp.com> # sja1105, felix, dsa_loop
Link: https://patch.msgid.link/E1swKNV-0060oN-1b@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/dsa.h
net/dsa/dsa.c
net/dsa/port.c