summaryrefslogtreecommitdiffstats
path: root/drivers/block/elevator.c
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2005-06-16 12:56:15 +0200
committerJens Axboe <axboe@suse.de>2005-06-16 12:56:15 +0200
commit9c56187d3c345cc0e7a2f162b8c32543175d7bf7 (patch)
tree709155ae306690634da0261bb2a1887e10bd6db1 /drivers/block/elevator.c
parentbcfff0b471a60df350338bcd727fc9b8a6aa54b2 (diff)
downloadop-kernel-dev-9c56187d3c345cc0e7a2f162b8c32543175d7bf7.zip
op-kernel-dev-9c56187d3c345cc0e7a2f162b8c32543175d7bf7.tar.gz
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>
Diffstat (limited to 'drivers/block/elevator.c')
-rw-r--r--drivers/block/elevator.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/block/elevator.c b/drivers/block/elevator.c
index 6b79b43..98fcabb 100644
--- a/drivers/block/elevator.c
+++ b/drivers/block/elevator.c
@@ -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;
@@ -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);
OpenPOWER on IntegriCloud