From: Gabor Juhos Date: Tue, 9 Jan 2018 20:20:14 +0000 (+0100) Subject: ar71xx: remove obsolete '< KERNEL_VERSION(4, 4, 0)' check X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=82cc4399765f0b9bd15cedae453d6f84c3f46393;p=openwrt%2Fstaging%2Fwigyori.git 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 --- 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 ae0a772d5b..722993ff9b 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