Commit 9c56187d authored by Tejun Heo 's avatar Tejun Heo Committed by Jens Axboe

This patch kills elevator_global_init() in elevator.c which does

nothing.
Signed-off-by: default avatarJens Axboe <axboe@suse.de>
Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
parent bcfff0b4
...@@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e) ...@@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e)
kfree(e); kfree(e);
} }
static int elevator_global_init(void)
{
return 0;
}
int elv_merge(request_queue_t *q, struct request **req, struct bio *bio) int elv_merge(request_queue_t *q, struct request **req, struct bio *bio)
{ {
elevator_t *e = q->elevator; elevator_t *e = q->elevator;
...@@ -692,8 +687,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name) ...@@ -692,8 +687,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name)
return len; return len;
} }
module_init(elevator_global_init);
EXPORT_SYMBOL(elv_add_request); EXPORT_SYMBOL(elv_add_request);
EXPORT_SYMBOL(__elv_add_request); EXPORT_SYMBOL(__elv_add_request);
EXPORT_SYMBOL(elv_requeue_request); EXPORT_SYMBOL(elv_requeue_request);
......
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