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

kernel test robot posted 1 patch 4 years, 2 months ago
arch/riscv/kernel/smp.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] RISC-V: fix semicolon.cocci warnings
Posted by kernel test robot 4 years, 2 months ago
From: kernel test robot <lkp@intel.com>

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


 Remove unneeded semicolon.

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

CC: Anup Patel <apatel@ventanamicro.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:   dab41b5c8f55fb8e864a5e10fd181dd0d4443778
commit: 9951f846b51d68f916cfa08140171cbcc8c0d02b [9/29] RISC-V: Treat IPIs as normal Linux IRQs
:::::: branch date: 29 hours ago
:::::: commit date: 29 hours ago

 arch/riscv/kernel/smp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/arch/riscv/kernel/smp.c
+++ b/arch/riscv/kernel/smp.c
@@ -117,7 +117,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;
 }