Fix: do not use CONFIG_HOTPLUG_CPU for the new hotplug API
[lttng-modules.git] / lttng-events.c
index 75c3fb170bcd5bcce18fd26dbe410e13f0006a5b..2cd650fdf2c4ebed8fe9438273c728abb38d1d54 100644 (file)
@@ -342,8 +342,6 @@ end:
        return ret;
 }
 
-
-
 int lttng_channel_enable(struct lttng_channel *channel)
 {
        int ret = 0;
@@ -2646,7 +2644,7 @@ void lttng_transport_unregister(struct lttng_transport *transport)
 }
 EXPORT_SYMBOL_GPL(lttng_transport_unregister);
 
-#if (defined(CONFIG_HOTPLUG_CPU) && (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0)))
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,10,0))
 
 enum cpuhp_state lttng_hp_prepare;
 enum cpuhp_state lttng_hp_online;
This page took 0.026448 seconds and 4 git commands to generate.