summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@semihalf.com>2022-04-25 12:11:02 +0200
committerDavid S. Miller <davem@davemloft.net>2022-04-25 12:08:40 +0100
commitdf1cc21152ffb605e2f32e5642891f9b908e3f11 (patch)
tree1d7b16e685c1e1a9a93b237766382dd35c4f97a9 /net/dsa
parentb0e653b2a0d99299a9fce1c1ca4393f3173620d4 (diff)
downloadlinux-stable-df1cc21152ffb605e2f32e5642891f9b908e3f11.tar.gz
linux-stable-df1cc21152ffb605e2f32e5642891f9b908e3f11.tar.bz2
linux-stable-df1cc21152ffb605e2f32e5642891f9b908e3f11.zip
net: dsa: remove unused headers
Reduce a number of included headers to a necessary minimum. Signed-off-by: Marcin Wojtas <mw@semihalf.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/dsa.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/dsa/dsa.c b/net/dsa/dsa.c
index 89c6c86e746f..0c6ae32742ec 100644
--- a/net/dsa/dsa.c
+++ b/net/dsa/dsa.c
@@ -7,19 +7,10 @@
#include <linux/device.h>
#include <linux/list.h>
-#include <linux/platform_device.h>
-#include <linux/slab.h>
#include <linux/module.h>
-#include <linux/notifier.h>
-#include <linux/of.h>
-#include <linux/of_mdio.h>
-#include <linux/of_platform.h>
-#include <linux/of_net.h>
#include <linux/netdevice.h>
#include <linux/sysfs.h>
-#include <linux/phy_fixed.h>
#include <linux/ptp_classify.h>
-#include <linux/etherdevice.h>
#include "dsa_priv.h"