diff mbox series

tinyconfig: remove unnecessary 'is not set' for choice blocks

Message ID 20240812100148.2083203-1-masahiroy@kernel.org (mailing list archive)
State New
Headers show
Series tinyconfig: remove unnecessary 'is not set' for choice blocks | expand

Commit Message

Masahiro Yamada Aug. 12, 2024, 10:01 a.m. UTC
This reverts the following commits:

 - 236dec051078 ("kconfig: tinyconfig: provide whole choice blocks to
   avoid warnings")
 - b0f269728ccd ("x86/config: Fix warning for 'make ARCH=x86_64
   tinyconfig'")

Since commit f79dc03fe68c ("kconfig: refactor choice value calculation"),
it is no longer necessary to disable the remaining options in choice
blocks.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

 arch/x86/configs/tiny.config | 4 ----
 kernel/configs/tiny.config   | 6 ------
 2 files changed, 10 deletions(-)

Comments

Thomas Gleixner Aug. 13, 2024, 9:57 a.m. UTC | #1
On Mon, Aug 12 2024 at 19:01, Masahiro Yamada wrote:

> This reverts the following commits:
>
>  - 236dec051078 ("kconfig: tinyconfig: provide whole choice blocks to
>    avoid warnings")
>  - b0f269728ccd ("x86/config: Fix warning for 'make ARCH=x86_64
>    tinyconfig'")
>
> Since commit f79dc03fe68c ("kconfig: refactor choice value calculation"),
> it is no longer necessary to disable the remaining options in choice
> blocks.
>
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Acked-by: Thomas Gleixner <tglx@linutronix.de>
diff mbox series

Patch

diff --git a/arch/x86/configs/tiny.config b/arch/x86/configs/tiny.config
index be3ee4294903..aabafa3faa6d 100644
--- a/arch/x86/configs/tiny.config
+++ b/arch/x86/configs/tiny.config
@@ -1,6 +1,2 @@ 
 CONFIG_NOHIGHMEM=y
-# CONFIG_HIGHMEM4G is not set
-# CONFIG_HIGHMEM64G is not set
-# CONFIG_UNWINDER_ORC is not set
 CONFIG_UNWINDER_GUESS=y
-# CONFIG_UNWINDER_FRAME_POINTER is not set
diff --git a/kernel/configs/tiny.config b/kernel/configs/tiny.config
index 00009f7d0835..b753695c5a8f 100644
--- a/kernel/configs/tiny.config
+++ b/kernel/configs/tiny.config
@@ -1,10 +1,4 @@ 
-# CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE is not set
 CONFIG_CC_OPTIMIZE_FOR_SIZE=y
-# CONFIG_KERNEL_GZIP is not set
-# CONFIG_KERNEL_BZIP2 is not set
-# CONFIG_KERNEL_LZMA is not set
 CONFIG_KERNEL_XZ=y
-# CONFIG_KERNEL_LZO is not set
-# CONFIG_KERNEL_LZ4 is not set
 CONFIG_SLUB=y
 CONFIG_SLUB_TINY=y