irqchip: remove redundant semicolon after while
Subsystems (2)
PATCH 1/1 irqchip: remove redundant semicolon after while
check drivers/irqchip with "make coccicheck M=drivers/irqchip/", it will report unneeded semicolon like below, just remove them.
drivers/irqchip/irq-zevio.c:54:2-3: Unneeded semicolon drivers/irqchip/irq-gic-v3.c:177:2-3: Unneeded semicolon drivers/irqchip/irq-gic-v3.c:234:2-3: Unneeded semicolon
--- drivers/irqchip/irq-gic-v3.c | 4 ++-- drivers/irqchip/irq-zevio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/irqchip/irq-gic-v3.c +2 -2
@@ -174,7 +174,7 @@ static void gic_do_wait_for_rwp(void __iomem *base) }cpu_relax ();udelay (1 ); - }; + } }/* Wait for completion of a distributor change */
@@ -231,7 +231,7 @@ static void gic_enable_redist(bool enable)break ;cpu_relax ();udelay (1 ); - }; + }if (!count)pr_err_ratelimited ("redistributor failed to %s...\n" , enable ?"wakeup" :"sleep" );
drivers/irqchip/irq-zevio.c +1 -1
@@ -51,7 +51,7 @@ static void __exception_irq_entry zevio_handle_irq(struct pt_regs *regs)while (readl (zevio_irq_io +IO_STATUS )) { irqnr =readl (zevio_irq_io +IO_CURRENT );handle_domain_irq (zevio_irq_domain, irqnr, regs); - }; + } }static void __init zevio_init_irq_base (void __iomem *base)
Signature · 1 line
2.8.1
[tip: irq/core] irqchip: Remove redundant semicolon after while
The following commit has been merged into the irq/core branch of tip:
The following commit has been merged into the irq/core branch of tip:
Commit-ID: 2c542426128a4e3d247939f868d19279ad48cb1f Gitweb: https://git.kernel.org/tip/2c542426128a4e3d247939f868d19279ad48cb1f Author: Daode Huang <[email protected]> AuthorDate: Thu, 17 Oct 2019 16:25:29 +08:00 Committer: Marc Zyngier <[email protected]> CommitterDate: Sun, 10 Nov 2019 18:47:44
irqchip: Remove redundant semicolon after while
check drivers/irqchip with "make coccicheck M=drivers/irqchip/", it will report unneeded semicolon like below, just remove them.
drivers/irqchip/irq-zevio.c:54:2-3: Unneeded semicolon drivers/irqchip/irq-gic-v3.c:177:2-3: Unneeded semicolon drivers/irqchip/irq-gic-v3.c:234:2-3: Unneeded semicolon
--- drivers/irqchip/irq-gic-v3.c | 4 ++-- drivers/irqchip/irq-zevio.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
drivers/irqchip/irq-gic-v3.c +2 -2
@@ -174,7 +174,7 @@ static void gic_do_wait_for_rwp(void __iomem *base) }cpu_relax ();udelay (1 ); - }; + } }/* Wait for completion of a distributor change */
@@ -231,7 +231,7 @@ static void gic_enable_redist(bool enable)break ;cpu_relax ();udelay (1 ); - }; + }if (!count)pr_err_ratelimited ("redistributor failed to %s...\n" , enable ?"wakeup" :"sleep" );
drivers/irqchip/irq-zevio.c +1 -1
@@ -51,7 +51,7 @@ static void __exception_irq_entry zevio_handle_irq(struct pt_regs *regs)while (readl (zevio_irq_io +IO_STATUS )) { irqnr =readl (zevio_irq_io +IO_CURRENT );handle_domain_irq (zevio_irq_domain, irqnr, regs); - }; + } }static void __init zevio_init_irq_base (void __iomem *base)