From: Gabor Juhos Date: Tue, 9 Jan 2018 13:59:14 +0000 (+0100) Subject: ar71xx: drop mdio-gpio.h include from mach-om5pacv2.c X-Git-Tag: v18.06.0-rc1~1214 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ec4e9a88ffaf12ed36a0c9ed1a48d8417c47865a;p=oweals%2Fopenwrt.git ar71xx: drop mdio-gpio.h include from mach-om5pacv2.c The setup code of the OpenMesh OM5P ACv2 device uses nothing from the mdio-gpio.h header, so remove the inclusion of that. Also remove the kernel version check which is needed only because the mdio-gpio.h header exists in a different path in older kernels. Compile tested only. Cc: Sven Eckelmann Signed-off-by: Gabor Juhos --- diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c index 0480d01e2c..1ab24f9339 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-om5pacv2.c @@ -11,12 +11,6 @@ */ #include -#include -#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0) -#include -#else -#include -#endif #include #include #include