[PATCH] riscv: remove unused profile.h includes
Anthony Iliopoulos
ailiop at suse.com
Thu Aug 20 06:13:08 PDT 2026
None of the code in these files uses declarations provided by profile.h.
Remove the unnecessary header includes across the various files to clean
up dependencies and reduce include bloat.
Signed-off-by: Anthony Iliopoulos <ailiop at suse.com>
---
arch/riscv/kernel/smp.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/riscv/kernel/smp.c b/arch/riscv/kernel/smp.c
index fa66f9c97d74..eddbc3ad06c9 100644
--- a/arch/riscv/kernel/smp.c
+++ b/arch/riscv/kernel/smp.c
@@ -15,7 +15,6 @@
#include <linux/kexec.h>
#include <linux/kgdb.h>
#include <linux/percpu.h>
-#include <linux/profile.h>
#include <linux/smp.h>
#include <linux/sched.h>
#include <linux/seq_file.h>
--
2.55.0
More information about the linux-riscv
mailing list