[PATCH] riscv: remove unused profile.h includes

Anthony Iliopoulos posted 1 patch 1 month, 1 week ago
arch/riscv/kernel/smp.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] riscv: remove unused profile.h includes
Posted by Anthony Iliopoulos 1 month, 1 week ago
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@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