From: Mathieu Desnoyers Date: Mon, 4 Apr 2016 19:57:24 +0000 (-0400) Subject: Fix: kmem instrumentation: remove unused gfpflags.h include X-Git-Tag: v2.9.0-rc1~92 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;h=6b206adaeba16d3bddbfd980d2ebdfc96211765c;p=lttng-modules.git Fix: kmem instrumentation: remove unused gfpflags.h include This header disappears in kernel 4.6, but we don't actually use it, so remove its include. Signed-off-by: Mathieu Desnoyers --- diff --git a/instrumentation/events/lttng-module/kmem.h b/instrumentation/events/lttng-module/kmem.h index 05f71ade..9ee3aa2f 100644 --- a/instrumentation/events/lttng-module/kmem.h +++ b/instrumentation/events/lttng-module/kmem.h @@ -7,9 +7,6 @@ #include #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) -#include -#endif LTTNG_TRACEPOINT_EVENT_CLASS(kmem_alloc,