block: remove blk_queue_tag_depth() and blk_queue_tag_queue()
authorJens Axboe <jens.axboe@oracle.com>
Tue, 26 Aug 2008 07:03:17 +0000 (09:03 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 27 Aug 2008 07:50:20 +0000 (09:50 +0200)
They are unused and ->busy doesn't exist anymore.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
include/linux/blkdev.h

index ab247d589ad677f615e23b3cebc2379da34b24b9..44710d7e7bff888c302038fb5c00a64e5d31367b 100644 (file)
@@ -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);