[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210929064106.4764-1-liumh1@shanghaitech.edu.cn>
Date: Wed, 29 Sep 2021 14:41:06 +0800
From: Mianhan Liu <liumh1@...nghaitech.edu.cn>
To: Woojung Huh <woojung.huh@...rochip.com>,
<UNGLinuxDriver@...rochip.com>, Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
Vladimir Oltean <olteanv@...il.com>
CC: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>,
Mianhan Liu <liumh1@...nghaitech.edu.cn>
Subject: [PATCH -next] 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@...nghaitech.edu.cn>
---
net/dsa/tag_ksz.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/dsa/tag_ksz.c b/net/dsa/tag_ksz.c
index fa1d60d13..3509fc967 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"
--
2.25.1
Powered by blists - more mailing lists