Re: [PATCH v2] block: drop needless assignment in set_task_ioprio()

From: Jens Axboe
Date: Thu Dec 23 2021 - 09:10:24 EST


On Thu, 23 Dec 2021 13:53:00 +0100, Lukas Bulwahn wrote:
> Commit 5fc11eebb4a9 ("block: open code create_task_io_context in
> set_task_ioprio") introduces a needless assignment
> 'ioc = task->io_context', as the local variable ioc is not further
> used before returning.
>
> Even after the further fix, commit a957b61254a7 ("block: fix error in
> handling dead task for ioprio setting"), the assignment still remains
> needless.
>
> [...]

Applied, thanks!

[1/1] block: drop needless assignment in set_task_ioprio()
commit: 669a064625fa3a06ddf8a4ac1f35b7436b99f133

Best regards,
--
Jens Axboe