summaryrefslogtreecommitdiff
path: root/include/linux/platform_data
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-04-07 00:21:55 +0300
committerJakub Kicinski <kuba@kernel.org>2026-04-08 19:38:52 -0700
commitb773b9935239e9bec86b96ce91b6ba2252c20b44 (patch)
tree18d2a677dcce88b55567675e93aaebddf5fff568 /include/linux/platform_data
parent3723c3b656ad47bcdad8bc2918a3456f9662a6cc (diff)
downloadlwn-b773b9935239e9bec86b96ce91b6ba2252c20b44.tar.gz
lwn-b773b9935239e9bec86b96ce91b6ba2252c20b44.zip
net: dsa: remove struct platform_data
This is not used anywhere in the kernel. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20260406212158.721806-2-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/platform_data')
-rw-r--r--include/linux/platform_data/dsa.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/include/linux/platform_data/dsa.h b/include/linux/platform_data/dsa.h
index d4d9bf2060a6..fec1ae5bddb9 100644
--- a/include/linux/platform_data/dsa.h
+++ b/include/linux/platform_data/dsa.h
@@ -48,21 +48,4 @@ struct dsa_chip_data {
s8 rtable[DSA_MAX_SWITCHES];
};
-struct dsa_platform_data {
- /*
- * Reference to a Linux network interface that connects
- * to the root switch chip of the tree.
- */
- struct device *netdev;
- struct net_device *of_netdev;
-
- /*
- * Info structs describing each of the switch chips
- * connected via this network interface.
- */
- int nr_chips;
- struct dsa_chip_data *chip;
-};
-
-
#endif /* __DSA_PDATA_H */