diff options
author | Chengguang Xu <cgxu519@gmx.com> | 2018-12-16 14:08:18 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-12-16 09:01:38 -0700 |
commit | e7cc005fef03d2b13246d800e497418d570ad6da (patch) | |
tree | 5ea37f0ce1c44a8994cdc93ebfd187f9057685b8 | |
parent | d04c406f29d9f4dbcb5eb5aa79ce0445c7e9d652 (diff) | |
download | linux-e7cc005fef03d2b13246d800e497418d570ad6da.tar.bz2 |
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>
-rw-r--r-- | drivers/block/aoe/aoemain.c | 2 |
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); |