From e6e65fcdf8fa05271dc21392cb56091d5c2eeb81 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Wed, 19 Mar 2014 20:14:28 -0400 Subject: [PATCH] Fix: remove __exit annotation lttng_abi_exit() is now used by init error path too. Signed-off-by: Mathieu Desnoyers --- lttng-abi.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); -- 2.34.1