projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3eb45
)
block: remove blk_queue_tag_depth() and blk_queue_tag_queue()
author
Jens Axboe
<jens.axboe@oracle.com>
Tue, 26 Aug 2008 07:03:17 +0000
(09:03 +0200)
committer
Jens 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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/blkdev.h
b/include/linux/blkdev.h
index ab247d589ad677f615e23b3cebc2379da34b24b9..44710d7e7bff888c302038fb5c00a64e5d31367b 100644
(file)
--- 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);