From: Tony Butler <spudz76@gmail.com>
Date: Mon, 28 Nov 2022 12:05:30 +0000 (-0800)
Subject: build: config: cleanup impossible dependency logic
X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=7e83cdf3f7024e563088d69c6e95f772634fb098;p=openwrt%2Fstaging%2Fblocktrron.git

build: config: cleanup impossible dependency logic

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>
---

diff --git a/config/Config-images.in b/config/Config-images.in
index dcd7575c3e..aa23876259 100644
--- a/config/Config-images.in
+++ b/config/Config-images.in
@@ -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
 
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 34c606a848..eed3fba1aa 100644
--- a/config/Config-kernel.in
+++ b/config/Config-kernel.in
@@ -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)