Skip to content

Commit

Permalink
This patch kills elevator_global_init() in elevator.c which does
Browse files Browse the repository at this point in the history
nothing.

Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Tejun Heo <htejun@gmail.com>
  • Loading branch information
Tejun Heo authored and Jens Axboe committed Jun 16, 2005
1 parent bcfff0b commit 9c56187
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/block/elevator.c
Original file line number Diff line number Diff line change
Expand Up @@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e)
kfree(e);
}

static int elevator_global_init(void)
{
return 0;
}

int elv_merge(request_queue_t *q, struct request **req, struct bio *bio)
{
elevator_t *e = q->elevator;
Expand Down Expand Up @@ -692,8 +687,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name)
return len;
}

module_init(elevator_global_init);

EXPORT_SYMBOL(elv_add_request);
EXPORT_SYMBOL(__elv_add_request);
EXPORT_SYMBOL(elv_requeue_request);
Expand Down

0 comments on commit 9c56187

Please sign in to comment.