Commit 5168c47b authored by Jens Axboe's avatar Jens Axboe

block: remove blk_queue_tag_depth() and blk_queue_tag_queue()

They are unused and ->busy doesn't exist anymore.
Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
parent 0e3eb45e
...@@ -817,8 +817,6 @@ extern void blk_put_queue(struct request_queue *); ...@@ -817,8 +817,6 @@ extern void blk_put_queue(struct request_queue *);
/* /*
* tag stuff * 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) #define blk_rq_tagged(rq) ((rq)->cmd_flags & REQ_QUEUED)
extern int blk_queue_start_tag(struct request_queue *, struct request *); extern int blk_queue_start_tag(struct request_queue *, struct request *);
extern struct request *blk_queue_find_tag(struct request_queue *, int); extern struct request *blk_queue_find_tag(struct request_queue *, int);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment