2023-08-11 19:44:27

by Jörn-Thorben Hinz

[permalink] [raw]
Subject: [PATCH net-next] net: Remove leftover include from nftables.h

Commit db3685b4046f ("net: remove obsolete members from struct net")
removed the uses of struct list_head from this header, without removing
the corresponding included header.

Signed-off-by: Jörn-Thorben Hinz <[email protected]>
---
include/net/netns/nftables.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/include/net/netns/nftables.h b/include/net/netns/nftables.h
index 8c77832d0240..cc8060c017d5 100644
--- a/include/net/netns/nftables.h
+++ b/include/net/netns/nftables.h
@@ -2,8 +2,6 @@
#ifndef _NETNS_NFTABLES_H_
#define _NETNS_NFTABLES_H_

-#include <linux/list.h>
-
struct netns_nftables {
u8 gencursor;
};
--
2.39.2



2023-08-12 18:02:37

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH net-next] net: Remove leftover include from nftables.h

On Fri, Aug 11, 2023 at 07:33:57PM +0200, Jörn-Thorben Hinz wrote:
> Commit db3685b4046f ("net: remove obsolete members from struct net")
> removed the uses of struct list_head from this header, without removing
> the corresponding included header.
>
> Signed-off-by: Jörn-Thorben Hinz <[email protected]>

Reviewed-by: Simon Horman <[email protected]>


2023-08-13 14:07:22

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next] net: Remove leftover include from nftables.h

Hello:

This patch was applied to netdev/net-next.git (main)
by David S. Miller <[email protected]>:

On Fri, 11 Aug 2023 19:33:57 +0200 you wrote:
> Commit db3685b4046f ("net: remove obsolete members from struct net")
> removed the uses of struct list_head from this header, without removing
> the corresponding included header.
>
> Signed-off-by: Jörn-Thorben Hinz <[email protected]>
> ---
> include/net/netns/nftables.h | 2 --
> 1 file changed, 2 deletions(-)

Here is the summary with links:
- [net-next] net: Remove leftover include from nftables.h
https://git.kernel.org/netdev/net-next/c/f614a29d6ca6

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html