aoe: add __exit annotation

Add __exit annotation to cleanup helper which
is only called once in the module.

Signed-off-by: Chengguang Xu <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
This commit is contained in:
Chengguang Xu 2018-12-16 14:08:18 +08:00 • committed by Jens Axboe
commit e7cc005fef

View 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);