X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=probes%2Flttng-probe-regmap.c;h=f68566587f7933c2ef07f14187002cb6c9f1d0b2;hb=c8ad610bc3d41482f620af4df502e6f07126930f;hp=c51924a0f2c414db783864f3113af6dfd12c1a35;hpb=055d1079cb36cdf4477275150e0dfaa9c356fa8f;p=lttng-modules.git diff --git a/probes/lttng-probe-regmap.c b/probes/lttng-probe-regmap.c index c51924a0..f6856658 100644 --- a/probes/lttng-probe-regmap.c +++ b/probes/lttng-probe-regmap.c @@ -30,16 +30,11 @@ * Create the tracepoint static inlines from the kernel to validate that our * trace event macros match the kernel we run on. */ -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) #include <../../drivers/base/regmap/trace.h> #undef TRACE_INCLUDE_PATH #undef TRACE_INCLUDE_FILE -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */ -#include -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */ - /* * Create LTTng tracepoint probes. */