On 4/13/23 15:06, Christoph Hellwig wrote: > __blk_mq_sched_dispatch_requests currently has duplicated logic > for the cases where requests are on the hctx dispatch list or not. > Merge the two with a new need_dispatch variable and remove a few > pointless local variables. > > Signed-off-by: Christoph Hellwig <hch@xxxxxx> Looks OK to me. Reviewed-by: Damien Le Moal <dlemoal@xxxxxxxxxx>