projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c744ea
)
module: Drop redundant declaration of struct module
author
Jean Delvare
<
[email protected]
>
Fri, 16 Dec 2016 17:45:21 +0000
(18:45 +0100)
committer
Jessica Yu
<
[email protected]
>
Tue, 3 Jan 2017 16:19:38 +0000
(08:19 -0800)
Struct module is already declared at the beginning of the file, no
need to declare it again.
Signed-off-by: Jean Delvare <
[email protected]
>
Fixes: 93c2e105f6bc ("module: Optimize __module_address() using a latched RB-tree")
Cc: Peter Zijlstra (Intel) <
[email protected]
>
Cc: Jessica Yu <
[email protected]
>
Cc: Rusty Russell <
[email protected]
>
Signed-off-by: Jessica Yu <
[email protected]
>
include/linux/module.h
patch
|
blob
|
history
diff --git
a/include/linux/module.h
b/include/linux/module.h
index 7c84273d60b963d44c032761cac62194e82d1198..ef599379f9a431940f08440b433fc0fdcd4fc6e6 100644
(file)
--- a/
include/linux/module.h
+++ b/
include/linux/module.h
@@
-282,8
+282,6
@@
enum module_state {
MODULE_STATE_UNFORMED, /* Still setting it up. */
};
-struct module;
-
struct mod_tree_node {
struct module *mod;
struct latch_tree_node node;