X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=lttng-kernel-version.h;h=cb96a325b5af7dcee42b384da61a95157b7b783a;hb=b7cdc18250880cc44edeef4a4b42c8ac7a135a6d;hp=6b545dbbe28997d0a22ac7e89cbf3d507d0acd96;hpb=9f36eaed6f91d5897924b551b44d1edd8cee00e2;p=lttng-modules.git diff --git a/lttng-kernel-version.h b/lttng-kernel-version.h index 6b545dbb..cb96a325 100644 --- a/lttng-kernel-version.h +++ b/lttng-kernel-version.h @@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: (GPL-2.0 or LGPL-2.1) +/* SPDX-License-Identifier: (GPL-2.0-only or LGPL-2.1-only) * * 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