From: Sven Eckelmann Date: Fri, 8 Jun 2018 11:58:53 +0000 (+0200) Subject: batman-adv: Remove deprecated compat helpers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ccc93a4c45e0de503898569f42d0a3cb8fafe809;p=feed%2Frouting.git batman-adv: Remove deprecated compat helpers Signed-off-by: Sven Eckelmann --- diff --git a/batman-adv/files/compat-hacks.h b/batman-adv/files/compat-hacks.h index 0cf8e31..4511184 100644 --- a/batman-adv/files/compat-hacks.h +++ b/batman-adv/files/compat-hacks.h @@ -11,25 +11,7 @@ #endif /* < KERNEL_VERSION(4, 1, 0) */ -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 0) - -/* Linux 3.15 misses the uapi include.... */ -#include - -#endif /* < KERNEL_VERSION(3, 16, 0) */ - -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) - -#include - -#define netdev_master_upper_dev_link(dev, upper_dev, upper_priv, upper_info, extack) ({\ - BUILD_BUG_ON(upper_priv != NULL); \ - BUILD_BUG_ON(upper_info != NULL); \ - BUILD_BUG_ON(extack != NULL); \ - netdev_set_master(dev, upper_dev); \ -}) - -#elif LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 5, 0) #include