From: Chengguang Xu Date: Sun, 16 Dec 2018 06:08:18 +0000 (+0800) Subject: aoe: add __exit annotation X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=e7cc005fef03d2b13246d800e497418d570ad6da;p=linux.git aoe: add __exit annotation Add __exit annotation to cleanup helper which is only called once in the module. Signed-off-by: Chengguang Xu Signed-off-by: Jens Axboe --- diff --git a/drivers/block/aoe/aoemain.c b/drivers/block/aoe/aoemain.c index 2514820669777..1e4e2971171ca 100644 --- a/drivers/block/aoe/aoemain.c +++ b/drivers/block/aoe/aoemain.c @@ -24,7 +24,7 @@ static void discover_timer(struct timer_list *t) aoecmd_cfg(0xffff, 0xff); } -static void +static void __exit aoe_exit(void) { del_timer_sync(&timer);