From: Herton R. Krzesinski <herton(a)redhat.com>
redhat: remove remaining references of CONFIG_RH_DISABLE_DEPRECATED
In the commit "Rename RH_DISABLE_DEPRECATED to RHEL_DIFFERENCES", the change
in kernel/Makefile was an addition instead of a rename. This change fixes
that by removing the old line still referencing CONFIG_RH_DISABLE_DEPRECATED.
Also, the redhat/configs tree still have the old config option files, remove
them too.
Signed-off-by: Herton R. Krzesinski <herton(a)redhat.com>
diff a/kernel/Makefile b/kernel/Makefile
--- a/kernel/Makefile
+++ b/kernel/Makefile
@@ -12,7 +12,6 @@ obj-y = fork.o exec_domain.o panic.o \
notifier.o ksysfs.o cred.o reboot.o \
async.o range.o smpboot.o ucount.o regset.o
-obj-$(CONFIG_RH_DISABLE_DEPRECATED) += rh_taint.o
obj-$(CONFIG_RHEL_DIFFERENCES) += rh_taint.o
obj-$(CONFIG_USERMODE_DRIVER) += usermode_driver.o
obj-$(CONFIG_MODULES) += kmod.o
diff a/redhat/configs/ark/generic/CONFIG_RH_DISABLE_DEPRECATED
b/redhat/configs/ark/generic/CONFIG_RH_DISABLE_DEPRECATED
--- a/redhat/configs/ark/generic/CONFIG_RH_DISABLE_DEPRECATED
+++ /dev/null
@@ -1 +0,0 @@
-CONFIG_RH_DISABLE_DEPRECATED=y
diff a/redhat/configs/fedora/generic/CONFIG_RH_DISABLE_DEPRECATED
b/redhat/configs/fedora/generic/CONFIG_RH_DISABLE_DEPRECATED
--- a/redhat/configs/fedora/generic/CONFIG_RH_DISABLE_DEPRECATED
+++ /dev/null
@@ -1 +0,0 @@
-# CONFIG_RH_DISABLE_DEPRECATED is not set
--
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/878