Skip to contentSkip to conversation

riscv: remove unused profile.h includes

PATCH In review Anthony Iliopoulos 2 participants 2 messages Aug 20 – Oct 8 RISC-V

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 riscv: remove unused profile.h includes

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.

---
 arch/riscv/kernel/smp.c | 1 -
 1 file changed, 1 deletion(-)
arch/riscv/kernel/smp.c +0 -1
index fa66f9c97d74..eddbc3ad06c9 100644
@@ -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>
Signature · 1 line
2.55.0
maintainer
#1 lore raw
Quoted 5 lines · Anthony Iliopoulos

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.

Thanks, queued for v7.4.

- Paul