[PATCH -next] net/dsa/tag_8021q.c: remove superfluous headers
From: Mianhan Liu
Date: Wed Sep 29 2021 - 02:36:39 EST
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@xxxxxxxxxxxxxxxxxxx>
---
net/dsa/tag_8021q.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/dsa/tag_8021q.c b/net/dsa/tag_8021q.c
index f8f7b7c34..935d0264e 100644
--- a/net/dsa/tag_8021q.c
+++ b/net/dsa/tag_8021q.c
@@ -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>
--
2.25.1