summaryrefslogtreecommitdiffstats
path: root/init/Kconfig
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2019-09-09 13:04:07 +0200
committerJessica Yu <jeyu@kernel.org>2019-09-11 21:40:23 +0200
commitd189c2a4b6f0f4ae2529213c77723dd7bd95b048 (patch)
tree2676f2b3c51af85d4616f516a59cbdf77987da45 /init/Kconfig
parentmodule: Fix link failure due to invalid relocation on namespace offset (diff)
downloadlinux-d189c2a4b6f0f4ae2529213c77723dd7bd95b048.tar.xz
linux-d189c2a4b6f0f4ae2529213c77723dd7bd95b048.zip
module: remove redundant 'depends on MODULES'
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>
Diffstat (limited to 'init/Kconfig')
-rw-r--r--init/Kconfig4
1 files changed, 1 insertions, 3 deletions
diff --git a/init/Kconfig b/init/Kconfig
index cc28561288a7..6f0ec679b02d 100644
--- a/init/Kconfig
+++ b/init/Kconfig
@@ -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