]> git.ipfire.org Git - thirdparty/linux.git/commit
module: Remove unused __INIT*_OR_MODULE macros
authorPetr Pavlu <petr.pavlu@suse.com>
Tue, 19 Aug 2025 12:13:37 +0000 (14:13 +0200)
committerSami Tolvanen <samitolvanen@google.com>
Mon, 22 Dec 2025 16:35:53 +0000 (16:35 +0000)
commitf13bff1b6d55de341f37a24781df5a1253377db3
tree1b81326d75796817b20ca0ab4ebf294ec9fd34cc
parentd8275cdaf20e5262141dcd12b214cf035d07ed9d
module: Remove unused __INIT*_OR_MODULE macros

Remove the __INIT_OR_MODULE, __INITDATA_OR_MODULE and
__INITRODATA_OR_MODULE macros. These were introduced in commit 8b5a10fc6fd0
("x86: properly annotate alternatives.c"). Only __INITRODATA_OR_MODULE was
ever used, in arch/x86/kernel/alternative.c. In 2011, commit dc326fca2b64
("x86, cpu: Clean up and unify the NOP selection infrastructure") removed
this usage.

Signed-off-by: Petr Pavlu <petr.pavlu@suse.com>
Reviewed-by: Aaron Tomlin <atomlin@atomlin.com>
Reviewed-by: Daniel Gomez <da.gomez@samsung.com>
Reviewed-by: Sami Tolvanen <samitolvanen@google.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
include/linux/module.h