net/dsa/tag_8021q.c: remove superfluous headers
authorMianhan Liu <liumh1@shanghaitech.edu.cn>
Wed, 29 Sep 2021 06:36:11 +0000 (14:36 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Sep 2021 10:38:21 +0000 (11:38 +0100)
tag_8021q.c hasn't use any macro or function declared in linux/if_bridge.h.
Thus, these files can be removed from tag_8021q.c safely without
affecting the compilation of the ./net/dsa module

Signed-off-by: Mianhan Liu <liumh1@shanghaitech.edu.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/tag_8021q.c

index f8f7b7c34e7da38a4c0d5c0e110b18e83dc018d0..935d0264ebd8eff515f6e9792cc65445a79687e6 100644 (file)
@@ -6,7 +6,6 @@
  * dsa_8021q_netdev_ops is registered for API compliance and not used
  * directly by callers.
  */
-#include <linux/if_bridge.h>
 #include <linux/if_vlan.h>
 #include <linux/dsa/8021q.h>