Commit 1b6aa634 authored by Jens Axboe's avatar Jens Axboe Committed by Linus Torvalds

[PATCH] Mark deadline_init and deadline_exit as init and exit functions

Mark deadline_init and deadline_exit as init and exit functions, and
make them static.
Signed-off-by: default avatarChris Wright <chris@osdl.org>
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 28529d13
......@@ -936,7 +936,7 @@ static struct elevator_type iosched_deadline = {
.elevator_owner = THIS_MODULE,
};
int deadline_init(void)
static int __init deadline_init(void)
{
int ret;
......@@ -953,7 +953,7 @@ int deadline_init(void)
return ret;
}
void deadline_exit(void)
static void __exit deadline_exit(void)
{
kmem_cache_destroy(drq_pool);
elv_unregister(&iosched_deadline);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment