include: net: Remove repeated struct declaration
authorWan Jiabing <wanjiabing@vivo.com>
Thu, 1 Apr 2021 07:08:22 +0000 (15:08 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Apr 2021 22:51:52 +0000 (15:51 -0700)
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/net_namespace.h

index dcaee24..4745704 100644 (file)
@@ -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);