block: remove redundant setting of QUEUE_FLAG_DYING
authorGuoqing Jiang <guoqing.jiang@cloud.ionos.com>
Mon, 9 Mar 2020 21:41:35 +0000 (22:41 +0100)
committerJens Axboe <axboe@kernel.dk>
Thu, 12 Mar 2020 13:42:54 +0000 (07:42 -0600)
commitfc4cc772102511de90e708e72754800686aa0043
tree70bc262bc948e130913ff8fccffccaf556057d74
parent35ed78b32cbbb6499b82e7a3a6769fa14e4b3c92
block: remove redundant setting of QUEUE_FLAG_DYING

Previously, blk_cleanup_queue has called blk_set_queue_dying to set the
flag, no need to do it again.

Signed-off-by: Guoqing Jiang <guoqing.jiang@cloud.ionos.com>
Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c