summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2008-08-26 09:03:17 +0200
committerJens Axboe <jens.axboe@oracle.com>2008-08-27 09:50:20 +0200
commit5168c47b4c294412f079dd3cc891e0276bb0479e (patch)
tree5ab223a104b631f0ff2f86d3bd0d67066289ba36
parent0e3eb45e4fe901d92bf9eae103155a57517af32e (diff)
downloadlinux-5168c47b4c294412f079dd3cc891e0276bb0479e.tar.gz
linux-5168c47b4c294412f079dd3cc891e0276bb0479e.tar.bz2
linux-5168c47b4c294412f079dd3cc891e0276bb0479e.zip
block: remove blk_queue_tag_depth() and blk_queue_tag_queue()
They are unused and ->busy doesn't exist anymore. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
-rw-r--r--include/linux/blkdev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index ab247d589ad6..44710d7e7bff 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -817,8 +817,6 @@ extern void blk_put_queue(struct request_queue *);
/*
* tag stuff
*/
-#define blk_queue_tag_depth(q) ((q)->queue_tags->busy)
-#define blk_queue_tag_queue(q) ((q)->queue_tags->busy < (q)->queue_tags->max_depth)
#define blk_rq_tagged(rq) ((rq)->cmd_flags & REQ_QUEUED)
extern int blk_queue_start_tag(struct request_queue *, struct request *);
extern struct request *blk_queue_find_tag(struct request_queue *, int);