2021-03-25 06:37:56

by Jiabing Wan

[permalink] [raw]
Subject: [PATCH] drivers: net: ethernet: struct sk_buff is declared duplicately

struct sk_buff has been declared. Remove the duplicate.

Signed-off-by: Wan Jiabing <[email protected]>
---
drivers/net/ethernet/netronome/nfp/nfp_app.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/net/ethernet/netronome/nfp/nfp_app.h b/drivers/net/ethernet/netronome/nfp/nfp_app.h
index 76d13af46a7a..3e9baff07100 100644
--- a/drivers/net/ethernet/netronome/nfp/nfp_app.h
+++ b/drivers/net/ethernet/netronome/nfp/nfp_app.h
@@ -18,7 +18,6 @@ struct netdev_bpf;
struct netlink_ext_ack;
struct pci_dev;
struct sk_buff;
-struct sk_buff;
struct nfp_app;
struct nfp_cpp;
struct nfp_pf;
--
2.25.1


2021-03-25 11:43:45

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH] drivers: net: ethernet: struct sk_buff is declared duplicately

On Thu, Mar 25, 2021 at 02:35:55PM +0800, Wan Jiabing wrote:
> struct sk_buff has been declared. Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <[email protected]>

Thanks, nice catch.

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

2021-03-26 00:21:58

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH] drivers: net: ethernet: struct sk_buff is declared duplicately

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Thu, 25 Mar 2021 14:35:55 +0800 you wrote:
> struct sk_buff has been declared. Remove the duplicate.
>
> Signed-off-by: Wan Jiabing <[email protected]>
> ---
> drivers/net/ethernet/netronome/nfp/nfp_app.h | 1 -
> 1 file changed, 1 deletion(-)

Here is the summary with links:
- drivers: net: ethernet: struct sk_buff is declared duplicately
https://git.kernel.org/netdev/net-next/c/01dc080be6b8

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