Commit 50e17493 authored by Jens Axboe's avatar Jens Axboe

block: get rid of unused blkdev_free_rq() define

Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent f3b144aa
...@@ -732,7 +732,6 @@ static void freed_request(struct request_queue *q, int rw, int priv) ...@@ -732,7 +732,6 @@ static void freed_request(struct request_queue *q, int rw, int priv)
__freed_request(q, rw ^ 1); __freed_request(q, rw ^ 1);
} }
#define blkdev_free_rq(list) list_entry((list)->next, struct request, queuelist)
/* /*
* Get a free request, queue_lock must be held. * Get a free request, queue_lock must be held.
* Returns NULL on failure, with queue_lock held. * Returns NULL on failure, with queue_lock held.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment