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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux