[irqchip: irq/irqchip-next] irqdomain: Drop leftover brackets

From: irqchip-bot for Johan Hovold
Date: Mon Feb 13 2023 - 14:41:11 EST


The following commit has been merged into the irq/irqchip-next branch of irqchip:

Commit-ID: 4e0d86df9344bfd1951eb2571e4ef8f3d37000a4
Gitweb: https://git.kernel.org/pub/scm/linux/kernel/git/maz/arm-platforms/4e0d86df9344bfd1951eb2571e4ef8f3d37000a4
Author: Johan Hovold <johan+linaro@xxxxxxxxxx>
AuthorDate: Mon, 13 Feb 2023 11:42:52 +01:00
Committer: Marc Zyngier <maz@xxxxxxxxxx>
CommitterDate: Mon, 13 Feb 2023 19:31:24

irqdomain: Drop leftover brackets

Drop some unnecessary brackets that were left in place when the
corresponding code was updated.

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>
Tested-by: Hsin-Yi Wang <hsinyi@xxxxxxxxxxxx>
Tested-by: Mark-PK Tsai <mark-pk.tsai@xxxxxxxxxxxx>
Signed-off-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx>
Link: https://lore.kernel.org/r/20230213104302.17307-11-johan+linaro@xxxxxxxxxx
---
kernel/irq/irqdomain.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/kernel/irq/irqdomain.c b/kernel/irq/irqdomain.c
index 6bd6b61..3a3213d 100644
--- a/kernel/irq/irqdomain.c
+++ b/kernel/irq/irqdomain.c
@@ -210,9 +210,8 @@ static struct irq_domain *__irq_domain_create(struct fwnode_handle *fwnode,
domain->host_data = host_data;
domain->hwirq_max = hwirq_max;

- if (direct_max) {
+ if (direct_max)
domain->flags |= IRQ_DOMAIN_FLAG_NO_MAP;
- }

domain->revmap_size = size;

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

- for (i = 0; i < count; i++) {
+ for (i = 0; i < count; i++)
irq_domain_associate(domain, irq_base + i, hwirq_base + i);
- }
}
EXPORT_SYMBOL_GPL(irq_domain_associate_many);