block/mq-deadline: Remove the redundant rb_entry_rq in the deadline_from_pos(). for-6.18/block
authorchengkaitao <chengkaitao@kylinos.cn>
Mon, 15 Sep 2025 12:33:07 +0000 (20:33 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Sep 2025 19:00:05 +0000 (13:00 -0600)
commit74b1db86847cce1c0fb54d362f8f5fde3adfd41b
treea1a1a4204e04e79d547d55f0b6f2a2177da3cebe
parent7935b843ce2184164f41c3b5c64e9f52994306f4
block/mq-deadline: Remove the redundant rb_entry_rq in the deadline_from_pos().

In commit(fde02699c242), the "if (blk_rq_is_seq_zoned_write(rq))"
was removed, but the "rb_entry_rq(node)" and some other code were
inadvertently left behind. This patch fixed it.

Signed-off-by: chengkaitao <chengkaitao@kylinos.cn>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Li Nan <linan122@huawei.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/mq-deadline.c