* [PATCH -next] net/dsa/tag_ksz.c: remove superfluous headers
@ 2021-09-29 6:41 Mianhan Liu
2021-09-29 10:40 ` patchwork-bot+netdevbpf
0 siblings, 1 reply; 2+ messages in thread
From: Mianhan Liu @ 2021-09-29 6:41 UTC (permalink / raw)
To: Woojung Huh, UNGLinuxDriver, Andrew Lunn, Vivien Didelot,
Florian Fainelli, Vladimir Oltean
Cc: David S. Miller, Jakub Kicinski, netdev, linux-kernel, Mianhan Liu
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>
---
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] net/dsa/tag_ksz.c: remove superfluous headers
2021-09-29 6:41 [PATCH -next] net/dsa/tag_ksz.c: remove superfluous headers Mianhan Liu
@ 2021-09-29 10:40 ` patchwork-bot+netdevbpf
0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-09-29 10:40 UTC (permalink / raw)
To: Mianhan Liu
Cc: woojung.huh, UNGLinuxDriver, andrew, vivien.didelot, f.fainelli,
olteanv, davem, kuba, netdev, linux-kernel
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Wed, 29 Sep 2021 14:41:06 +0800 you wrote:
> 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>
>
>
> [...]
Here is the summary with links:
- [-next] net/dsa/tag_ksz.c: remove superfluous headers
https://git.kernel.org/netdev/net-next/c/ca4b0649be01
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-09-29 10:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 6:41 [PATCH -next] net/dsa/tag_ksz.c: remove superfluous headers Mianhan Liu
2021-09-29 10:40 ` patchwork-bot+netdevbpf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).