aoe: add __exit annotation
authorChengguang Xu <cgxu519@gmx.com>
Sun, 16 Dec 2018 06:08:18 +0000 (14:08 +0800)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Dec 2018 16:01:38 +0000 (09:01 -0700)
Add __exit annotation to cleanup helper which
is only called once in the module.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/aoe/aoemain.c

index 25148206697775f3444d677b29302a35e0fe5a04..1e4e2971171caf5c0cafd798fe93bc83c439e0e1 100644 (file)
@@ -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);