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.7.3~10 X-Git-Url: http://git.liburcu.org/?a=commitdiff_plain;ds=sidebyside;h=675f8988f3e11be1da90a769633b1dab0d3d4929;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 14deea18..a195148d 100644 --- a/instrumentation/events/lttng-module/kmem.h +++ b/instrumentation/events/lttng-module/kmem.h @@ -7,9 +7,6 @@ #include "../../../probes/lttng-tracepoint-event.h" #include #include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,36)) -#include -#endif LTTNG_TRACEPOINT_EVENT_CLASS(kmem_alloc,