Repository : ssh://git@open-mesh.org/openwrt-feed-devel
On branch : master
commit a988bcdcbf4f74c2583d3ebffdb7e40373bbaa6a Author: Sven Eckelmann sven@narfation.org Date: Fri Jun 8 13:58:53 2018 +0200
batman-adv-devel: Remove deprecated compat helpers
Signed-off-by: Sven Eckelmann sven@narfation.org
a988bcdcbf4f74c2583d3ebffdb7e40373bbaa6a batman-adv-devel/files/compat-hacks.h | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-)
diff --git a/batman-adv-devel/files/compat-hacks.h b/batman-adv-devel/files/compat-hacks.h index 0cf8e31..4511184 100644 --- a/batman-adv-devel/files/compat-hacks.h +++ b/batman-adv-devel/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 <uapi/linux/nl80211.h> - -#endif /* < KERNEL_VERSION(3, 16, 0) */ - -#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 9, 0) - -#include <linux/netdevice.h> - -#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 <linux/netdevice.h>