Because blk_mq_hw_queue_need_run() now returns false if a queue is frozen, protecting request queue changes with blk_mq_quiesce_queue() and blk_mq_unquiesce_queue() while a queue is frozen is no longer necessary. Hence this patch that removes quiesce/unquiesce calls on frozen queues. Signed-off-by: Bart Van Assche <bvanassche@xxxxxxx> --- drivers/block/ataflop.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/block/ataflop.c b/drivers/block/ataflop.c index 7fe14266c12c..0475f3bc6fbd 100644 --- a/drivers/block/ataflop.c +++ b/drivers/block/ataflop.c @@ -760,7 +760,6 @@ static int do_format(int drive, int type, struct atari_format_descr *desc) q = unit[drive].disk[type]->queue; memflags = blk_mq_freeze_queue(q); - blk_mq_quiesce_queue(q); local_irq_save(flags); stdma_lock(floppy_irq, NULL); @@ -817,7 +816,6 @@ static int do_format(int drive, int type, struct atari_format_descr *desc) finish_fdc(); ret = FormatError ? -EIO : 0; out: - blk_mq_unquiesce_queue(q); blk_mq_unfreeze_queue(q, memflags); return ret; }