From: Michael Jeanson Date: Fri, 21 Oct 2022 16:12:23 +0000 (-0400) Subject: Cleanup: remove 2.6.35 compat code X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=df46e53bf0649871a0c97c7f448d2888c194779c;p=lttng-modules.git Cleanup: remove 2.6.35 compat code Change-Id: If429446d63fe6c33cd995b0e0e04bd26c5111cc7 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/include/wrapper/tracepoint.h b/include/wrapper/tracepoint.h index d5f32075..10c9fce6 100644 --- a/include/wrapper/tracepoint.h +++ b/include/wrapper/tracepoint.h @@ -22,13 +22,6 @@ DEFINE_TRACE(name) #endif -#ifndef HAVE_KABI_2635_TRACEPOINT - -#define kabi_2635_tracepoint_probe_register tracepoint_probe_register -#define kabi_2635_tracepoint_probe_unregister tracepoint_probe_unregister - -#endif /* HAVE_KABI_2635_TRACEPOINT */ - #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) #include @@ -38,8 +31,8 @@ #else /* #if (LTTNG_LINUX_VERSION_CODE >= LTTNG_KERNEL_VERSION(3,15,0)) */ -#define lttng_wrapper_tracepoint_probe_register kabi_2635_tracepoint_probe_register -#define lttng_wrapper_tracepoint_probe_unregister kabi_2635_tracepoint_probe_unregister +#define lttng_wrapper_tracepoint_probe_register tracepoint_probe_register +#define lttng_wrapper_tracepoint_probe_unregister tracepoint_probe_unregister static inline int lttng_tracepoint_init(void)