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.11.0-rc1~59 X-Git-Url: http://git.lttng.org/?p=lttng-modules.git;a=commitdiff_plain;h=1ee63d8d1b0aaf30564d3879d8e9282d0ddfef1b 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 2cd650fd..6098ce44 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)