blk-mq: don't keep offline CPUs mapped to hctx 0
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / block / blk-timeout.c
index 17ec83bb09002ccfeead4b49692d52b3bc41caa5..6427be7ac363759f4331e7592888a45071b08467 100644 (file)
@@ -134,8 +134,6 @@ void blk_timeout_work(struct work_struct *work)
        struct request *rq, *tmp;
        int next_set = 0;
 
-       if (blk_queue_enter(q, true))
-               return;
        spin_lock_irqsave(q->queue_lock, flags);
 
        list_for_each_entry_safe(rq, tmp, &q->timeout_list, timeout_list)
@@ -145,7 +143,6 @@ void blk_timeout_work(struct work_struct *work)
                mod_timer(&q->timeout, round_jiffies_up(next));
 
        spin_unlock_irqrestore(q->queue_lock, flags);
-       blk_queue_exit(q);
 }
 
 /**