Re: [PATCH] PCI: vmd: Clean up some inconsistent indenting
From: Christoph Hellwig
Date: Tue Nov 15 2022 - 05:28:07 EST
On Tue, Nov 15, 2022 at 01:48:47PM +0800, Jiapeng Chong wrote:
> + if (vmd->irq_domain)
> + vmd_set_msi_remapping(vmd, true);
> + else
> + vmd_set_msi_remapping(vmd, false);
Why not go one step further:
vmd_set_msi_remapping(vmd, !!vmd->irq_domain);
?