summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--block/blk-mq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index b7e06673a30b..4e62b97dceb4 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -406,10 +406,7 @@ struct request *blk_mq_alloc_request(struct request_queue *q, unsigned int op,
if (ret)
return ERR_PTR(ret);
- blk_queue_enter_live(q);
rq = blk_mq_get_request(q, NULL, &alloc_data);
- blk_queue_exit(q);
-
if (!rq)
goto out_queue_exit;
rq->__data_len = 0;