netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] include: net: Remove repeated struct declaration
@ 2021-04-01  7:08 Wan Jiabing
  2021-04-01 23:20 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-04-01  7:08 UTC (permalink / raw)
  To: David S. Miller, Jakub Kicinski, netdev, linux-kernel; +Cc: kael_w, Wan Jiabing

struct ctl_table_header is declared twice. One is declared
at 46th line. The blew one is not needed. Remove the duplicate.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 include/net/net_namespace.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/net/net_namespace.h b/include/net/net_namespace.h
index dcaee24a4d87..47457048ab86 100644
--- a/include/net/net_namespace.h
+++ b/include/net/net_namespace.h
@@ -407,7 +407,6 @@ int register_pernet_device(struct pernet_operations *);
 void unregister_pernet_device(struct pernet_operations *);
 
 struct ctl_table;
-struct ctl_table_header;
 
 #ifdef CONFIG_SYSCTL
 int net_sysctl_init(void);
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] include: net: Remove repeated struct declaration
  2021-04-01  7:08 [PATCH] include: net: Remove repeated struct declaration Wan Jiabing
@ 2021-04-01 23:20 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2021-04-01 23:20 UTC (permalink / raw)
  To: Wan Jiabing; +Cc: davem, kuba, netdev, linux-kernel, kael_w

Hello:

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

On Thu,  1 Apr 2021 15:08:22 +0800 you wrote:
> struct ctl_table_header is declared twice. One is declared
> at 46th line. The blew one is not needed. Remove the duplicate.
> 
> Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
> ---
>  include/net/net_namespace.h | 1 -
>  1 file changed, 1 deletion(-)

Here is the summary with links:
  - include: net: Remove repeated struct declaration
    https://git.kernel.org/netdev/net-next/c/9fadafa46f48

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-04-01 23:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-01  7:08 [PATCH] include: net: Remove repeated struct declaration Wan Jiabing
2021-04-01 23:20 ` 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).