Skip to content

Commit

Permalink
net/dsa/tag_8021q.c: remove superfluous headers
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mianhan Liu authored and David S. Miller committed Sep 29, 2021
1 parent f69bf5d commit 6f8b64f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/dsa/tag_8021q.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 6f8b64f

Please sign in to comment.