Re: [PATCH] module: Remove unused __INIT*_OR_MODULE macros

From: Sami Tolvanen
Date: Thu Aug 21 2025 - 19:12:20 EST


On Tue, Aug 19, 2025 at 5:14 AM Petr Pavlu <petr.pavlu@xxxxxxxx> wrote:
>
> 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@xxxxxxxx>

Reviewed-by: Sami Tolvanen <samitolvanen@xxxxxxxxxx>

Sami