From 72fd6364a4d901d829b2fd6066bbed1ba26e1635 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 13 Apr 2020 16:53:01 -0400 Subject: [PATCH] probe kvm x86: remove compatibility code --- probes/lttng-probe-kvm-x86.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/probes/lttng-probe-kvm-x86.c b/probes/lttng-probe-kvm-x86.c index b7704076..2eb10ae7 100644 --- a/probes/lttng-probe-kvm-x86.c +++ b/probes/lttng-probe-kvm-x86.c @@ -10,18 +10,11 @@ #include #include #include -#include -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,7,0)) /* TODO: check for header availability in Makefile */ #include <../../arch/x86/kvm/kvm_emulate.h> -#endif -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) #include -#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */ -#include <../../virt/kvm/iodev.h> -#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,1,0)) */ /* * Create the tracepoint static inlines from the kernel to validate that our -- 2.34.1