提交 7b733051 编写于 作者: J Jean Delvare 提交者: Jessica Yu

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: NJean Delvare <jdelvare@suse.de>
Fixes: 93c2e105 ("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: NJessica Yu <jeyu@redhat.com>
上级 0c744ea4
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册