Re: [PATCH v2] block: drop needless assignment in set_task_ioprio()
From: Jens Axboe <axboe@kernel.dk>
Date: 2021-12-23 14:10:23
Also in:
kernel-janitors, linux-block, lkml
From: Jens Axboe <axboe@kernel.dk>
Date: 2021-12-23 14:10:23
Also in:
kernel-janitors, linux-block, lkml
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