[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>
This commit is contained in:
parent
cdd6026217
commit
cb78b285c8
5 changed files with 15 additions and 18 deletions
|
|
@ -1284,7 +1284,7 @@ static void as_work_handler(void *data)
|
|||
spin_unlock_irqrestore(q->queue_lock, flags);
|
||||
}
|
||||
|
||||
static int as_may_queue(request_queue_t *q, int rw, struct bio *bio)
|
||||
static int as_may_queue(request_queue_t *q, int rw)
|
||||
{
|
||||
int ret = ELV_MQUEUE_MAY;
|
||||
struct as_data *ad = q->elevator->elevator_data;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue