From: Mathieu Desnoyers Date: Thu, 20 Mar 2014 00:14:28 +0000 (-0400) Subject: Fix: remove __exit annotation X-Git-Tag: v2.5.0-rc1~26 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e6e65fcdf8fa05271dc21392cb56091d5c2eeb81;p=lttng-modules.git Fix: remove __exit annotation lttng_abi_exit() is now used by init error path too. Signed-off-by: Mathieu Desnoyers --- diff --git a/lttng-abi.c b/lttng-abi.c index 261a0ad3..64af55fb 100644 --- a/lttng-abi.c +++ b/lttng-abi.c @@ -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);