block: get rid of unused blkdev_free_rq() define
Jens Axboe [Fri, 6 Mar 2009 10:12:17 +0000 (11:12 +0100)]
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

block/blk-core.c

index 5e14b3f..7b63c9b 100644 (file)
@@ -732,7 +732,6 @@ static void freed_request(struct request_queue *q, int rw, int priv)
                __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.
  * Returns NULL on failure, with queue_lock held.