projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2237778
)
include: net: Remove repeated struct declaration
author
Wan Jiabing
<wanjiabing@vivo.com>
Thu, 1 Apr 2021 07:08:22 +0000
(15:08 +0800)
committer
David 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
patch
|
blob
|
history
diff --git
a/include/net/net_namespace.h
b/include/net/net_namespace.h
index
dcaee24
..
4745704
100644
(file)
--- 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);