From 9598166dce563b1287e05f0b1af96f9329e102c4 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 13 Apr 2020 17:06:40 -0400 Subject: [PATCH] lib ring buffer backend types: remove cpu hotplug compatibility code --- lib/ringbuffer/backend_types.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/ringbuffer/backend_types.h b/lib/ringbuffer/backend_types.h index fa6baaa0..3766d8bd 100644 --- a/lib/ringbuffer/backend_types.h +++ b/lib/ringbuffer/backend_types.h @@ -86,11 +86,7 @@ struct channel_backend { void *priv; /* Client-specific information */ void *priv_ops; /* Client-specific ops pointer */ void (*release_priv_ops)(void *priv_ops); -#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) struct lttng_cpuhp_node cpuhp_prepare; /* CPU hotplug prepare */ -#else - struct notifier_block cpu_hp_notifier; /* CPU hotplug notifier */ -#endif /* * We need to copy config because the module containing the * source config can vanish before the last reference to this -- 2.34.1