Re: [PATCH] x86/irq: simplify loop in unmap_domain_pirq

2021-02-22 Thread Roger Pau Monné
On Fri, Feb 19, 2021 at 03:39:14PM +0100, Jan Beulich wrote: > On 10.02.2021 10:22, Roger Pau Monne wrote: > > The for loop in unmap_domain_pirq is unnecessary complicated, with > > several places where the index is incremented, and also different > > exit conditions spread between the loop body. >

Re: [PATCH] x86/irq: simplify loop in unmap_domain_pirq

2021-02-19 Thread Jan Beulich
On 10.02.2021 10:22, Roger Pau Monne wrote: > The for loop in unmap_domain_pirq is unnecessary complicated, with > several places where the index is incremented, and also different > exit conditions spread between the loop body. > > Simplify it by looping over each possible PIRQ using the for loop