From: Michael Jeanson Date: Tue, 13 Mar 2018 16:14:43 +0000 (-0400) Subject: Cleanup: comment about CONFIG_HOTPLUG_CPU ifdef X-Git-Tag: v2.9.9~8 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=5f26db404979bb0a2279be57ec757c1d8077b1fd;p=lttng-modules.git Cleanup: comment about CONFIG_HOTPLUG_CPU ifdef Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-events.c b/lttng-events.c index 624a1338..5e9c72bf 100644 --- a/lttng-events.c +++ b/lttng-events.c @@ -2760,7 +2760,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; @@ -2768,7 +2768,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)