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

From: Christoph Hellwig
Date: Thu Dec 23 2021 - 07:37:33 EST


> 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.