diff options
| author | Jean Delvare <[email protected]> | 2016-12-16 17:45:21 +0000 |
|---|---|---|
| committer | Jessica Yu <[email protected]> | 2017-01-03 16:19:38 +0000 |
| commit | 7b73305160f11b633e9801b2c6b83d5b0cb867cc (patch) | |
| tree | 724d1c6e890c80603c76bb66cafb1bcb4f78fed1 | |
| parent | Linux 4.10-rc2 (diff) | |
| download | kernel-7b73305160f11b633e9801b2c6b83d5b0cb867cc.tar.gz kernel-7b73305160f11b633e9801b2c6b83d5b0cb867cc.zip | |
module: Drop redundant declaration of struct module
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]>
| -rw-r--r-- | include/linux/module.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/module.h b/include/linux/module.h index 7c84273d60b9..ef599379f9a4 100644 --- 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; |
