Skip to content

Commit

Permalink
net/dsa/tag_ksz.c: remove superfluous headers
Browse files Browse the repository at this point in the history
tag_ksz.c hasn't use any macro or function declared in linux/slab.h.
Thus, these files can be removed from tag_ksz.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 6f8b64f commit ca4b064
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/dsa/tag_ksz.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

#include <linux/etherdevice.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <net/dsa.h>
#include "dsa_priv.h"

Expand Down

0 comments on commit ca4b064

Please sign in to comment.