aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-03-06 05:12:17 -0500
committerJens Axboe <jens.axboe@oracle.com>2009-03-24 07:35:16 -0400
commit50e174931051bf4849cd7931667bb0a4d681ff60 (patch)
tree1d9bcc2600a83a3dbafe588b946e4abaa9757282 /block
parentf3b144aa7f2861e1024682af3bf3dbf1c29184b9 (diff)
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)
732 __freed_request(q, rw ^ 1); 732 __freed_request(q, rw ^ 1);
733} 733}
734 734
735#define blkdev_free_rq(list) list_entry((list)->next, struct request, queuelist)
736/* 735/*
737 * Get a free request, queue_lock must be held. 736 * Get a free request, queue_lock must be held.
738 * Returns NULL on failure, with queue_lock held. 737 * Returns NULL on failure, with queue_lock held.