module: remove redundant 'depends on MODULES'
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 9 Sep 2019 11:04:07 +0000 (20:04 +0900)
committerJessica Yu <jeyu@kernel.org>
Wed, 11 Sep 2019 19:40:23 +0000 (21:40 +0200)
These are located in the 'if MODULES' ... 'endif' block.

Remove the redundant dependencies.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Jessica Yu <jeyu@kernel.org>
init/Kconfig

index cc28561288a7d7756bb5c408b88ab71be51519aa..6f0ec679b02de2f70ce4fb7eeaf207cb7f5b5789 100644 (file)
@@ -2006,7 +2006,6 @@ config MODULE_SRCVERSION_ALL
 
 config MODULE_SIG
        bool "Module signature verification"
-       depends on MODULES
        select SYSTEM_DATA_VERIFICATION
        help
          Check modules for valid signatures upon load: the signature
@@ -2083,7 +2082,6 @@ config MODULE_SIG_HASH
 
 config MODULE_COMPRESS
        bool "Compress modules on installation"
-       depends on MODULES
        help
 
          Compresses kernel modules when 'make modules_install' is run; gzip or
@@ -2134,7 +2132,7 @@ config MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS
 
 config TRIM_UNUSED_KSYMS
        bool "Trim unused exported kernel symbols"
-       depends on MODULES && !UNUSED_SYMBOLS
+       depends on !UNUSED_SYMBOLS
        help
          The kernel and some modules make many symbols available for
          other modules to use via EXPORT_SYMBOL() and variants. Depending