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

From: Lukas Bulwahn
Date: Thu Dec 23 2021 - 07:41:52 EST


On Thu, Dec 23, 2021 at 1:37 PM Christoph Hellwig <hch@xxxxxx> wrote:
>
> > if (task->io_context) {
> > kmem_cache_free(iocontext_cachep, ioc);
> > - ioc = task->io_context;
> > } else {
> > task->io_context = ioc;
> > }
>
> Please also drop the now superflous braces.

Will do. Patch v2 will be there in a second... Lukas