summaryrefslogtreecommitdiff
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-12-16 20:45:21 +0300
committerJessica Yu <jeyu@redhat.com>2017-01-03 19:19:38 +0300
commit7b73305160f11b633e9801b2c6b83d5b0cb867cc (patch)
tree724d1c6e890c80603c76bb66cafb1bcb4f78fed1 /include/linux/module.h
parent0c744ea4f77d72b3dcebb7a8f2684633ec79be88 (diff)
downloadlinux-7b73305160f11b633e9801b2c6b83d5b0cb867cc.tar.xz
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 <jdelvare@suse.de> Fixes: 93c2e105f6bc ("module: Optimize __module_address() using a latched RB-tree") Cc: Peter Zijlstra (Intel) <peterz@infradead.org> Cc: Jessica Yu <jeyu@redhat.com> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Jessica Yu <jeyu@redhat.com>
Diffstat (limited to 'include/linux/module.h')
-rw-r--r--include/linux/module.h2
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;