Skip to content

Commit 4e0d86d

Browse files
jhovoldMarc Zyngier
authored andcommitted
irqdomain: Drop leftover brackets
Drop some unnecessary brackets that were left in place when the corresponding code was updated. Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Tested-by: Hsin-Yi Wang <[email protected]> Tested-by: Mark-PK Tsai <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Marc Zyngier <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 28a9ff2 commit 4e0d86d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

kernel/irq/irqdomain.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,8 @@ static struct irq_domain *__irq_domain_create(struct fwnode_handle *fwnode,
210210
domain->host_data = host_data;
211211
domain->hwirq_max = hwirq_max;
212212

213-
if (direct_max) {
213+
if (direct_max)
214214
domain->flags |= IRQ_DOMAIN_FLAG_NO_MAP;
215-
}
216215

217216
domain->revmap_size = size;
218217

@@ -652,9 +651,8 @@ void irq_domain_associate_many(struct irq_domain *domain, unsigned int irq_base,
652651
pr_debug("%s(%s, irqbase=%i, hwbase=%i, count=%i)\n", __func__,
653652
of_node_full_name(of_node), irq_base, (int)hwirq_base, count);
654653

655-
for (i = 0; i < count; i++) {
654+
for (i = 0; i < count; i++)
656655
irq_domain_associate(domain, irq_base + i, hwirq_base + i);
657-
}
658656
}
659657
EXPORT_SYMBOL_GPL(irq_domain_associate_many);
660658

0 commit comments

Comments
 (0)