diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2022-09-29 14:10:39 +0200 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-11-11 19:19:52 +0100 |
commit | 3cd60866d46050d14734cbbac41b00c8d3e51d61 (patch) | |
tree | 02ecdf08a806b0da57fe5cf6e04354af0273f07d /mm/mm_init.c | |
parent | Merge tag 'perf-tools-fixes-for-v6.1-2-2022-11-10' of git://git.kernel.org/pu... (diff) | |
download | linux-3cd60866d46050d14734cbbac41b00c8d3e51d61.tar.xz linux-3cd60866d46050d14734cbbac41b00c8d3e51d61.zip |
module: remove redundant module_sysfs_initialized variable
The variable module_sysfs_initialized is used for checking whether
module_kset has been initialized. Checking module_kset itself works
just fine for that.
This is a leftover from commit 7405c1e15edf ("kset: convert /sys/module
to use kset_create").
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Reviewed-by: Miroslav Benes <mbenes@suse.cz>
[mcgrof: adjusted commit log as suggested by Christophe Leroy]
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'mm/mm_init.c')
0 files changed, 0 insertions, 0 deletions