Fix: remove __exit annotation
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Mar 2014 00:14:28 +0000 (20:14 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 20 Mar 2014 00:14:28 +0000 (20:14 -0400)
lttng_abi_exit() is now used by init error path too.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
lttng-abi.c

index 261a0ad3f8a1bf0ae4af6e76c9a2a246115589b4..64af55fb24938db7491a39483dd2071d0c7ede3d 100644 (file)
@@ -1555,7 +1555,8 @@ error:
        return ret;
 }
 
-void __exit lttng_abi_exit(void)
+/* No __exit annotation because used by init error path too. */
+void lttng_abi_exit(void)
 {
        if (lttng_proc_dentry)
                remove_proc_entry("lttng", NULL);
This page took 0.028701 seconds and 4 git commands to generate.