diff options
author | Tejun Heo <htejun@gmail.com> | 2005-06-16 06:56:15 -0400 |
---|---|---|
committer | Jens Axboe <axboe@suse.de> | 2005-06-16 06:56:15 -0400 |
commit | 9c56187d3c345cc0e7a2f162b8c32543175d7bf7 (patch) | |
tree | 709155ae306690634da0261bb2a1887e10bd6db1 | |
parent | bcfff0b471a60df350338bcd727fc9b8a6aa54b2 (diff) |
This patch kills elevator_global_init() in elevator.c which does
nothing.
Signed-off-by: Jens Axboe <axboe@suse.de>
Signed-off-by: Tejun Heo <htejun@gmail.com>
-rw-r--r-- | drivers/block/elevator.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/block/elevator.c b/drivers/block/elevator.c index 6b79b4314622..98fcabbafe1e 100644 --- a/drivers/block/elevator.c +++ b/drivers/block/elevator.c | |||
@@ -220,11 +220,6 @@ void elevator_exit(elevator_t *e) | |||
220 | kfree(e); | 220 | kfree(e); |
221 | } | 221 | } |
222 | 222 | ||
223 | static int elevator_global_init(void) | ||
224 | { | ||
225 | return 0; | ||
226 | } | ||
227 | |||
228 | int elv_merge(request_queue_t *q, struct request **req, struct bio *bio) | 223 | int elv_merge(request_queue_t *q, struct request **req, struct bio *bio) |
229 | { | 224 | { |
230 | elevator_t *e = q->elevator; | 225 | elevator_t *e = q->elevator; |
@@ -692,8 +687,6 @@ ssize_t elv_iosched_show(request_queue_t *q, char *name) | |||
692 | return len; | 687 | return len; |
693 | } | 688 | } |
694 | 689 | ||
695 | module_init(elevator_global_init); | ||
696 | |||
697 | EXPORT_SYMBOL(elv_add_request); | 690 | EXPORT_SYMBOL(elv_add_request); |
698 | EXPORT_SYMBOL(__elv_add_request); | 691 | EXPORT_SYMBOL(__elv_add_request); |
699 | EXPORT_SYMBOL(elv_requeue_request); | 692 | EXPORT_SYMBOL(elv_requeue_request); |