[PATCH] RISC-V: fix semicolon.cocci warnings

kernel test robot posted 1 patch 4 years, 6 months ago
There is a newer version of this series
smp.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] RISC-V: fix semicolon.cocci warnings
Posted by kernel test robot 4 years, 6 months ago
From: kernel test robot <lkp@intel.com>

arch/riscv/kernel/smp.c:130:2-3: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Anup Patel <anup.patel@wdc.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

tree:   https://github.com/avpatel/linux.git riscv_kvm_aia_v1
head:   6fa93cde61f5f84422bd3f97b9db6e2406a344dd
commit: dea7752f30104c9bb3c2c67ce2c56e5a5eb3c290 [17/42] RISC-V: Treat IPIs as normal Linux IRQs
:::::: branch date: 6 hours ago
:::::: commit date: 3 days ago

 smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/riscv/kernel/smp.c
+++ b/arch/riscv/kernel/smp.c
@@ -127,7 +127,7 @@ static irqreturn_t handle_IPI(int irq, v
 	default:
 		pr_warn("CPU%d: unhandled IPI%d\n", smp_processor_id(), ipi);
 		break;
-	};
+	}
 
 	return IRQ_HANDLED;
 }