lkml.org 
[lkml]   [2022]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] PCI: vmd: Clean up some inconsistent indenting
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);

?

\
 
 \ /
  Last update: 2022-11-15 11:29    [W:0.051 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site