From 00e00f2494bb0611b0321009020312cd6701a89b Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Tue, 13 Mar 2018 12:14:43 -0400 Subject: [PATCH] Cleanup: comment about CONFIG_HOTPLUG_CPU ifdef Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- lttng-events.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lttng-events.c b/lttng-events.c index 44618e31..9ff8ac99 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -2762,7 +2762,7 @@ static void __exit lttng_exit_cpu_hotplug(void) cpuhp_remove_multi_state(lttng_hp_prepare); } -#else /* #if (CONFIG_HOTPLUG_CPU && (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))) */ +#else /* #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) */ static int lttng_init_cpu_hotplug(void) { return 0; @@ -2770,7 +2770,7 @@ static int lttng_init_cpu_hotplug(void) static void lttng_exit_cpu_hotplug(void) { } -#endif /* #else #if (CONFIG_HOTPLUG_CPU && (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))) */ +#endif /* #else #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)) */ static int __init lttng_events_init(void) -- 2.34.1