summaryrefslogtreecommitdiffstats
path: root/net/dsa/tag_ksz.c
diff options
context:
space:
mode:
authorMianhan Liu <liumh1@shanghaitech.edu.cn>2021-09-29 14:41:06 +0800
committerDavid S. Miller <davem@davemloft.net>2021-09-29 11:38:21 +0100
commitca4b0649be01cbf020a4cedf3f0a04a1975a0387 (patch)
tree02ba0a7f0855bd345dc3dd60f3b7dbef1d1fc866 /net/dsa/tag_ksz.c
parent6f8b64f86e27702d6a5bc2b085a82eca225e7f4f (diff)
downloadlinux-ca4b0649be01cbf020a4cedf3f0a04a1975a0387.tar.gz
linux-ca4b0649be01cbf020a4cedf3f0a04a1975a0387.tar.bz2
linux-ca4b0649be01cbf020a4cedf3f0a04a1975a0387.zip
net/dsa/tag_ksz.c: remove superfluous headers
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>
Diffstat (limited to 'net/dsa/tag_ksz.c')
-rw-r--r--net/dsa/tag_ksz.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/dsa/tag_ksz.c b/net/dsa/tag_ksz.c
index fa1d60d13ad9..3509fc967ca9 100644
--- a/net/dsa/tag_ksz.c
+++ b/net/dsa/tag_ksz.c
@@ -6,7 +6,6 @@
#include <linux/etherdevice.h>
#include <linux/list.h>
-#include <linux/slab.h>
#include <net/dsa.h>
#include "dsa_priv.h"