summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-03-06 13:12:17 +0300
committerJens Axboe <jens.axboe@oracle.com>2009-03-24 14:35:16 +0300
commit50e174931051bf4849cd7931667bb0a4d681ff60 (patch)
tree1d9bcc2600a83a3dbafe588b946e4abaa9757282 /block
parentf3b144aa7f2861e1024682af3bf3dbf1c29184b9 (diff)
downloadlinux-50e174931051bf4849cd7931667bb0a4d681ff60.tar.xz
block: get rid of unused blkdev_free_rq() define
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c1
1 files changed, 0 insertions, 1 deletions
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.