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>
This commit is contained in:
parent
d04c406f29
commit
e7cc005fef
|
@ -24,7 +24,7 @@ static void discover_timer(struct timer_list *t)
|
||||||
aoecmd_cfg(0xffff, 0xff);
|
aoecmd_cfg(0xffff, 0xff);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void __exit
|
||||||
aoe_exit(void)
|
aoe_exit(void)
|
||||||
{
|
{
|
||||||
del_timer_sync(&timer);
|
del_timer_sync(&timer);
|
||||||
|
|
Loading…
Reference in New Issue