Re: [Patch v2 2/3] iommu: optimize iova_magazine_free_pfns()
From: Cong Wang
Date: Tue Dec 03 2019 - 14:28:37 EST
On Mon, Dec 2, 2019 at 8:59 AM Christoph Hellwig <hch@xxxxxxxxxxxxx> wrote:
>
> > + return (mag && mag->size == IOVA_MAG_SIZE);
>
> > + return (!mag || mag->size == 0);
>
> No need for the braces in both cases.
The current code is already this, I don't want to mix coding style
changes with a non-coding-style change. You can always remove
them in a separated patch if you feel necessary.
Thanks.