From 82cc4399765f0b9bd15cedae453d6f84c3f46393 Mon Sep 17 00:00:00 2001 From: Gabor Juhos Date: Tue, 9 Jan 2018 21:20:14 +0100 Subject: [PATCH] ar71xx: remove obsolete '< KERNEL_VERSION(4, 4, 0)' check Because the oldest supported kernel version on the ar71xx target is 4.4, the condition that the kernel version is smaller than 4.4.0 is always false. Remove the obsolete check from mach-rb4xx.c to clean up the code a bit. Signed-off-by: Gabor Juhos --- target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c index ae0a772d5bc3..722993ff9b82 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-rb4xx.c @@ -11,12 +11,7 @@ #include #include -#include -#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) -#include -#else #include -#endif #include #include #include -- 2.30.2