modules: Remove #ifdef CONFIG_STRICT_MODULE_RWX around rodata_enabled
authorChristophe Leroy <christophe.leroy@csgroup.eu>
Thu, 21 Dec 2023 09:02:47 +0000 (10:02 +0100)
committerLuis Chamberlain <mcgrof@kernel.org>
Fri, 2 Feb 2024 18:21:25 +0000 (10:21 -0800)
commit315df9c476c587af26467f10c6f27414572f3938
treed904150134601a8099cd4a37847e26814c2a0304
parent398ec3e925eb1c4d5850ec60f7075e0c20199003
modules: Remove #ifdef CONFIG_STRICT_MODULE_RWX around rodata_enabled

Now that rodata_enabled is declared at all time, the #ifdef
CONFIG_STRICT_MODULE_RWX can be removed.

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
kernel/module/strict_rwx.c