summaryrefslogtreecommitdiffstats
path: root/net/dsa
diff options
context:
space:
mode:
authorVivien Didelot2017-05-17 21:46:04 +0200
committerDavid S. Miller2017-05-18 16:40:12 +0200
commitf0c24ccf491b09de53cee32114c924551218f2bc (patch)
tree28d83278d3db8c0566193d1bdd2d48824190901a /net/dsa
parentnet: dsa: include dsa.h only once (diff)
downloadkernel-qcow2-linux-f0c24ccf491b09de53cee32114c924551218f2bc.tar.gz
kernel-qcow2-linux-f0c24ccf491b09de53cee32114c924551218f2bc.tar.xz
kernel-qcow2-linux-f0c24ccf491b09de53cee32114c924551218f2bc.zip
net: dsa: include switchdev.h only once
DSA drivers and core use switchdev. Include switchdev.h only once, in the dsa.h public header, so that inclusion in DSA drivers or forward declarations of switchdev structures in not necessary anymore. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa')
-rw-r--r--net/dsa/slave.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dsa/slave.c b/net/dsa/slave.c
index fb13c5d7d587..91236d602301 100644
--- a/net/dsa/slave.c
+++ b/net/dsa/slave.c
@@ -18,7 +18,6 @@
#include <linux/mdio.h>
#include <linux/list.h>
#include <net/rtnetlink.h>
-#include <net/switchdev.h>
#include <net/pkt_cls.h>
#include <net/tc_act/tc_mirred.h>
#include <linux/if_bridge.h>