[lttng-dev] [RFC PATCH lttng-modules v2 12/30] Drop support for kernels < 3.0 from lttng-kernel-version.h

Michael Jeanson mjeanson at efficios.com
Thu Nov 8 16:45:17 EST 2018


Signed-off-by: Michael Jeanson <mjeanson at efficios.com>
---
 lttng-kernel-version.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h
index 6b545db..26f816c 100644
--- a/lttng-kernel-version.h
+++ b/lttng-kernel-version.h
@@ -11,12 +11,7 @@
 #define _LTTNG_KERNEL_VERSION_H
 
 #include <linux/version.h>
-
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33))
 #include <generated/utsrelease.h>
-#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */
-#include <linux/utsrelease.h>
-#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,33)) */
 
 /*
  * This macro checks if the kernel version is between the two specified
-- 
2.17.1



More information about the lttng-dev mailing list