From: Mathieu Desnoyers Date: Mon, 24 Oct 2016 17:27:01 +0000 (-0400) Subject: Fix: preemptible and migratable context error handling X-Git-Tag: v2.10.0-rc1~41 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=d0e59d6f099f4663cc62bffb59d960cd4235064f;hp=d0e59d6f099f4663cc62bffb59d960cd4235064f;p=lttng-modules.git Fix: preemptible and migratable context error handling When built against preempt-rt and preempt kernels, the "return 0" case means success, but lttng-modules incorrectly prints an error in the kernel log. Given that we handle the -ENOSYS error in lttng_context_init, there is no need to keep the ifdefs in that function. Signed-off-by: Mathieu Desnoyers ---