context cgroup ns: remove compatibility code
[lttng-modules.git] / lttng-events.h
index dc1bd0e6b094b322b79ab43010018339f114051f..05309174ab67635adaf94d47dab93b50aa8b17fd 100644 (file)
@@ -721,9 +721,7 @@ int lttng_add_migratable_to_ctx(struct lttng_ctx **ctx)
 
 int lttng_add_callstack_to_ctx(struct lttng_ctx **ctx, int type);
 
-#if defined(CONFIG_CGROUPS) && \
-       ((LINUX_VERSION_CODE >= KERNEL_VERSION(4,6,0)) || \
-        LTTNG_UBUNTU_KERNEL_RANGE(4,4,0,0, 4,5,0,0))
+#if defined(CONFIG_CGROUPS)
 int lttng_add_cgroup_ns_to_ctx(struct lttng_ctx **ctx);
 #else
 static inline
This page took 0.022877 seconds and 4 git commands to generate.