summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-04-16 22:26:26 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-04-16 22:26:26 +0200
commit67d1146ffa58e50c451f06b3813f713311832e42 (patch)
tree31f917924a106ca21ee912bf5d4ead768293ca2f
parentd153931c73b086aa384a0544ccc16e064f0e8e59 (diff)
compat: remove unused dev_recursion_level backport
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/compat/compat.h7
1 files changed, 0 insertions, 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