]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
net: dsa: remove unused platform_data definitions
authorVladimir Oltean <vladimir.oltean@nxp.com>
Mon, 6 Apr 2026 21:21:57 +0000 (00:21 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 9 Apr 2026 02:38:52 +0000 (19:38 -0700)
Pretty self-explanatory, nobody needs these.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20260406212158.721806-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/linux/platform_data/dsa.h

index 031f4cf83ae2bf05174e0ad8ec7ab3590923912e..77424bb24723c4d08faa4813e65b91871801559f 100644 (file)
@@ -3,11 +3,8 @@
 #define __DSA_PDATA_H
 
 struct device;
-struct net_device;
 
-#define DSA_MAX_SWITCHES       4
 #define DSA_MAX_PORTS          12
-#define DSA_RTABLE_NONE                -1
 
 struct dsa_chip_data {
        /*