module: Drop redundant declaration of struct module
authorJean Delvare <jdelvare@suse.de>
Fri, 16 Dec 2016 17:45:21 +0000 (18:45 +0100)
committerJessica Yu <jeyu@redhat.com>
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 <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>
include/linux/module.h

index 7c84273..ef59937 100644 (file)
@@ -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;