2021-09-29 06:43:51

by Mianhan Liu

[permalink] [raw]
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 <[email protected]>

---
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



2021-09-29 13:59:58

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH -next] net/dsa/tag_ksz.c: remove superfluous headers

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 <[email protected]>
>
>
> [...]

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