build: config: cleanup impossible dependency logic
authorTony Butler <spudz76@gmail.com>
Mon, 28 Nov 2022 12:05:30 +0000 (04:05 -0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 3 Dec 2022 19:45:55 +0000 (20:45 +0100)
some config `depends on` lines contained outdated kernel version checks
that can no longer happen and had become non-operational; clean them up

cosmetic change with no functional effect

Signed-off-by: Tony Butler <spudz76@gmail.com>
config/Config-images.in
config/Config-kernel.in

index dcd7575c3e453547e4c0f1c0840d2b0222982a7b..aa238762590eb7b2ffe6923ffae83ea49bb13260 100644 (file)
@@ -47,7 +47,6 @@ menu "Target Images"
                                bool "xz"
 
                        config TARGET_INITRAMFS_COMPRESSION_ZSTD
-                               depends on !LINUX_5_4 && !LINUX_4_19
                                bool "zstd"
                endchoice
 
index 34c606a84835624cc51e8dba81850c6ce70c73ec..eed3fba1aa0a7cfdf76c97c8b0e04c2149a2a8e2 100644 (file)
@@ -779,7 +779,7 @@ if KERNEL_CGROUPS
                bool "Memory Resource Controller for Control Groups"
                default y
                select KERNEL_FREEZER
-               depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
+               depends on KERNEL_RESOURCE_COUNTERS
                help
                  Provides a memory resource controller that manages both anonymous
                  memory and page cache. (See Documentation/cgroups/memory.txt)