summaryrefslogtreecommitdiff
path: root/drivers/block/aoe
diff options
context:
space:
mode:
authorChengguang Xu <cgxu519@gmx.com>2018-12-16 14:08:18 +0800
committerJens Axboe <axboe@kernel.dk>2018-12-16 09:01:38 -0700
commite7cc005fef03d2b13246d800e497418d570ad6da (patch)
tree5ea37f0ce1c44a8994cdc93ebfd187f9057685b8 /drivers/block/aoe
parentd04c406f29d9f4dbcb5eb5aa79ce0445c7e9d652 (diff)
aoe: add __exit annotation
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>
Diffstat (limited to 'drivers/block/aoe')
-rw-r--r--drivers/block/aoe/aoemain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/aoe/aoemain.c b/drivers/block/aoe/aoemain.c
index 251482066977..1e4e2971171c 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);