summaryrefslogtreecommitdiff
path: root/block/blk-mq.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/blk-mq.c')
-rw-r--r--block/blk-mq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c
index 42002c2930b0..51edbbb91369 100644
--- a/block/blk-mq.c
+++ b/block/blk-mq.c
@@ -777,10 +777,6 @@ static void blk_mq_rq_timed_out(struct request *req, bool reserved)
ret = ops->timeout(req, reserved);
switch (ret) {
- case BLK_EH_HANDLED:
- if (blk_mq_rq_state(req) == MQ_RQ_IN_FLIGHT)
- __blk_mq_complete_request(req);
- break;
case BLK_EH_RESET_TIMER:
blk_add_timer(req);
break;