Skip to content

Commit 7b73305

Browse files
jdelvareJessica Yu
authored andcommitted
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: 93c2e10 ("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>
1 parent 0c744ea commit 7b73305

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/module.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,6 @@ enum module_state {
282282
MODULE_STATE_UNFORMED, /* Still setting it up. */
283283
};
284284

285-
struct module;
286-
287285
struct mod_tree_node {
288286
struct module *mod;
289287
struct latch_tree_node node;

0 commit comments

Comments
 (0)