summaryrefslogtreecommitdiffstats
path: root/block/blk-mq-tag.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-mq-tag.c')
-rw-r--r--block/blk-mq-tag.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/block/blk-mq-tag.c b/block/blk-mq-tag.c
index 05e2baf4fa0..0d0640d38a0 100644
--- a/block/blk-mq-tag.c
+++ b/block/blk-mq-tag.c
@@ -7,14 +7,6 @@
#include "blk-mq.h"
#include "blk-mq-tag.h"
-void blk_mq_wait_for_tags(struct blk_mq_hw_ctx *hctx, bool reserved)
-{
- int tag, zero = 0;
-
- tag = blk_mq_get_tag(hctx, &zero, __GFP_WAIT, reserved);
- blk_mq_put_tag(hctx, tag, &zero);
-}
-
static bool bt_has_free_tags(struct blk_mq_bitmap_tags *bt)
{
int i;