From 67d1146ffa58e50c451f06b3813f713311832e42 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Mon, 16 Apr 2018 22:26:26 +0200 Subject: compat: remove unused dev_recursion_level backport Signed-off-by: Jason A. Donenfeld --- src/compat/compat.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/compat/compat.h b/src/compat/compat.h index d5c7527..d65a538 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -65,13 +65,6 @@ #endif #endif -#if ((LINUX_VERSION_CODE > KERNEL_VERSION(3, 19, 0) && LINUX_VERSION_CODE < KERNEL_VERSION(3, 19, 6)) || \ - (LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 12) && LINUX_VERSION_CODE > KERNEL_VERSION(3, 17, 0)) || \ - (LINUX_VERSION_CODE < KERNEL_VERSION(3, 16, 8) && LINUX_VERSION_CODE >= KERNEL_VERSION(3, 15, 0)) || \ - LINUX_VERSION_CODE < KERNEL_VERSION(3, 14, 40)) && !defined(ISRHEL7) && !defined(ISUBUNTU1404) -#define dev_recursion_level() 0 -#endif - #if LINUX_VERSION_CODE < KERNEL_VERSION(4, 3, 0) && !defined(ISRHEL7) #define ipv6_dst_lookup(a, b, c, d) ipv6_dst_lookup(b, c, d) #endif -- cgit v1.2.3