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.8.0-rc2~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7e2f78e809f425f87e0c014e27300dc0446516a2;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,