aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/module.h
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2016-12-16 18:45:21 +0100
committerJessica Yu <jeyu@redhat.com>2017-01-03 08:19:38 -0800
commit7b73305160f11b633e9801b2c6b83d5b0cb867cc (patch)
tree724d1c6e890c80603c76bb66cafb1bcb4f78fed1 /include/linux/module.h
parentLinux 4.10-rc2 (diff)
downloadlinux-dev-7b73305160f11b633e9801b2c6b83d5b0cb867cc.tar.xz
linux-dev-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 <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 '')
-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;