aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/compat/compat.h
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
commit5f1e4cae411c534b3df33e56483a0861d85e1b6e (patch)
tree318801f096489532ff9d043e99b49cdbba71c31c /src/compat/compat.h
parentblake2s: remove unused helper (diff)
downloadwireguard-monolithic-historical-5f1e4cae411c534b3df33e56483a0861d85e1b6e.tar.xz
wireguard-monolithic-historical-5f1e4cae411c534b3df33e56483a0861d85e1b6e.zip
compat: remove unused dev_recursion_level backport
Diffstat (limited to '')
-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