compat: drop CentOS 8 Stream support
Nobody uses this and it's impossible to maintain given the current CI
situation.
RHEL 7 and 8 release remain for now, though that might not always be the
case. See the link for details.
Link: https://lists.zx2c4.com/pipermail/wireguard/2022-June/007664.html
Suggested-by: Philip J. Perry <phil@elrepo.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
diff --git a/src/compat/compat-asm.h b/src/compat/compat-asm.h
index 951fc10..345087b 100644
--- a/src/compat/compat-asm.h
+++ b/src/compat/compat-asm.h
@@ -15,9 +15,6 @@
#define ISRHEL7
#elif RHEL_MAJOR == 8
#define ISRHEL8
-#if RHEL_MINOR >= 6
-#define ISCENTOS8S
-#endif
#endif
#endif
diff --git a/src/compat/compat.h b/src/compat/compat.h
index aebeabf..69dada8 100644
--- a/src/compat/compat.h
+++ b/src/compat/compat.h
@@ -16,9 +16,6 @@
#define ISRHEL7
#elif RHEL_MAJOR == 8
#define ISRHEL8
-#if RHEL_MINOR >= 7
-#define ISCENTOS8S
-#endif
#endif
#endif
#ifdef UTS_UBUNTU_RELEASE_ABI
@@ -390,7 +387,7 @@
#define system_power_efficient_wq system_unbound_wq
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) && !defined(ISCENTOS8S)
+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0)
#include <linux/ktime.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
#include <linux/hrtimer.h>