diff options
author | Jens Axboe <axboe@suse.de> | 2006-07-28 03:32:57 -0400 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-09-30 14:29:23 -0400 |
commit | cb78b285c8f9d59b0d4e4f6a54c2977ce1d9b880 (patch) | |
tree | fec08d228e25103962c56f8cd43727d9d6af23c8 /block/as-iosched.c | |
parent | cdd6026217c0e4cda2efce1bdc318661bef1f66f (diff) |
[PATCH] Drop useless bio passing in may_queue/set_request API
It's not needed for anything, so kill the bio passing.
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'block/as-iosched.c')
-rw-r--r-- | block/as-iosched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/as-iosched.c b/block/as-iosched.c index 02eb9333898f..66015bc79e6f 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c | |||
@@ -1284,7 +1284,7 @@ static void as_work_handler(void *data) | |||
1284 | spin_unlock_irqrestore(q->queue_lock, flags); | 1284 | spin_unlock_irqrestore(q->queue_lock, flags); |
1285 | } | 1285 | } |
1286 | 1286 | ||
1287 | static int as_may_queue(request_queue_t *q, int rw, struct bio *bio) | 1287 | static int as_may_queue(request_queue_t *q, int rw) |
1288 | { | 1288 | { |
1289 | int ret = ELV_MQUEUE_MAY; | 1289 | int ret = ELV_MQUEUE_MAY; |
1290 | struct as_data *ad = q->elevator->elevator_data; | 1290 | struct as_data *ad = q->elevator->elevator_data; |