From: Michael Jeanson Date: Thu, 8 Nov 2018 20:45:12 +0000 (-0500) Subject: Drop support for kernels < 3.0 from lttng-kernel-version.h X-Git-Tag: v2.12.0-pre~90 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fca522377905099b6dca4bdace0a7a38600a3972;p=lttng-modules.git Drop support for kernels < 3.0 from lttng-kernel-version.h Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h index 6b545dbb..26f816c0 100644 --- a/lttng-kernel-version.h +++ b/lttng-kernel-version.h @@ -11,12 +11,7 @@ #define _LTTNG_KERNEL_VERSION_H #include - -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) #include -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */ -#include -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */ /* * This macro checks if the kernel version is between the two specified