* [PATCH] module: Drop redundant declaration of struct module
@ 2016-12-16 17:45 Jean Delvare
2017-01-03 17:32 ` Jessica Yu
0 siblings, 1 reply; 2+ messages in thread
From: Jean Delvare @ 2016-12-16 17:45 UTC (permalink / raw)
To: LKML; +Cc: Peter Zijlstra, Jessica Yu, Rusty Russell
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>
---
include/linux/module.h | 2 --
1 file changed, 2 deletions(-)
--- linux-4.9.orig/include/linux/module.h 2016-12-11 20:17:54.000000000 +0100
+++ linux-4.9/include/linux/module.h 2016-12-16 17:25:01.696622103 +0100
@@ -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;
--
Jean Delvare
SUSE L3 Support
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: module: Drop redundant declaration of struct module
2016-12-16 17:45 [PATCH] module: Drop redundant declaration of struct module Jean Delvare
@ 2017-01-03 17:32 ` Jessica Yu
0 siblings, 0 replies; 2+ messages in thread
From: Jessica Yu @ 2017-01-03 17:32 UTC (permalink / raw)
To: Jean Delvare; +Cc: LKML, Peter Zijlstra, Rusty Russell
+++ Jean Delvare [16/12/16 18:45 +0100]:
>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>
Applied, thanks.
Jessica
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-03 17:55 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-16 17:45 [PATCH] module: Drop redundant declaration of struct module Jean Delvare
2017-01-03 17:32 ` Jessica Yu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.