From: Jens Axboe Date: Fri, 6 Mar 2009 10:12:17 +0000 (+0100) Subject: block: get rid of unused blkdev_free_rq() define X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=50e174931051bf4849cd7931667bb0a4d681ff60;p=openwrt%2Fstaging%2Fblogic.git block: get rid of unused blkdev_free_rq() define Signed-off-by: Jens Axboe --- diff --git a/block/blk-core.c b/block/blk-core.c index 5e14b3f4510f..7b63c9b6333d 100644 --- a/block/blk-core.c +++ b/block/blk-core.c @@ -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.