blk-mq: remove unneeded needs_restart check
authorMiaohe Lin <linmiaohe@huawei.com>
Mon, 5 Sep 2022 10:19:50 +0000 (18:19 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 5 Sep 2022 17:45:24 +0000 (11:45 -0600)
commit6d5e8d21e8997b0efa409e46db22a27b5cbba6aa
tree9c607f8296967b56c6e9efbf6c2437638e474ff4
parent91e5adda5cf4e3bf21c46eaa2ae7ee2cb6058126
blk-mq: remove unneeded needs_restart check

If code reaches here, needs_restart must be true. Remove this unneeded
needs_restart check. No functional change intended.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Link: https://lore.kernel.org/r/20220905101950.4606-1-linmiaohe@huawei.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c