[PATCH 1/2] RISC-V: fix include warning in smpboot.c

Fredrik Lönnegren fredrik at frelon.se
Sun Dec 10 04:42:24 PST 2023


This commit fixes a warning about duplicate includes of
"asm/cpufeatures.h" found using scripts/checkincludes.pl

Signed-off-by: Fredrik Lönnegren <fredrik at frelon.se>
---
 arch/riscv/kernel/smpboot.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/riscv/kernel/smpboot.c b/arch/riscv/kernel/smpboot.c
index d162bf339beb..1b461570d456 100644
--- a/arch/riscv/kernel/smpboot.c
+++ b/arch/riscv/kernel/smpboot.c
@@ -26,7 +26,6 @@
 #include <linux/sched/task_stack.h>
 #include <linux/sched/mm.h>
 
-#include <asm/cpufeature.h>
 #include <asm/cpu_ops.h>
 #include <asm/cpufeature.h>
 #include <asm/irq.h>
-- 
2.43.0




More information about the linux-riscv mailing list