From: Jean Delvare Date: Fri, 16 Dec 2016 17:45:21 +0000 (+0100) Subject: module: Drop redundant declaration of struct module X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b73305160f11b633e9801b2c6b83d5b0cb867cc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Fixes: 93c2e105f6bc ("module: Optimize __module_address() using a latched RB-tree") Cc: Peter Zijlstra (Intel) Cc: Jessica Yu Cc: Rusty Russell Signed-off-by: Jessica Yu --- 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;