lib ring buffer backend types: remove cpu hotplug compatibility code
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 21:06:40 +0000 (17:06 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 13 Apr 2020 21:06:40 +0000 (17:06 -0400)
lib/ringbuffer/backend_types.h

index fa6baaa07adecaae783e9f6131a1c57ed515b46e..3766d8bdac90e16b3317c8a713fc2d036454733e 100644 (file)
@@ -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
This page took 0.025639 seconds and 4 git commands to generate.