block: get rid of unused blkdev_free_rq() define
authorJens Axboe <jens.axboe@oracle.com>
Fri, 6 Mar 2009 10:12:17 +0000 (11:12 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 24 Mar 2009 11:35:16 +0000 (12:35 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
block/blk-core.c

index 5e14b3f4510f401a8a94acfeab9d5e164cf5e447..7b63c9b6333d7e051f20588083ccaf90ff43540f 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.