From 5f1e4cae411c534b3df33e56483a0861d85e1b6e 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 --- src/compat/compat.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/compat/compat.h') 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-59-g8ed1b