mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] riscv: remove unused profile.h includes
@ 2026-08-20 13:13 Anthony Iliopoulos
  2026-10-08  2:09 ` Paul Walmsley
  0 siblings, 1 reply; 2+ messages in thread
From: Anthony Iliopoulos @ 2026-08-20 13:13 UTC (permalink / raw)
  To: Paul Walmsley, Palmer Dabbelt, Albert Ou; +Cc: linux-riscv, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] riscv: remove unused profile.h includes
  2026-08-20 13:13 [PATCH] riscv: remove unused profile.h includes Anthony Iliopoulos
@ 2026-10-08  2:09 ` Paul Walmsley
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Walmsley @ 2026-10-08  2:09 UTC (permalink / raw)
  To: Anthony Iliopoulos
  Cc: Paul Walmsley, Palmer Dabbelt, Albert Ou, linux-riscv, linux-kernel

On Thu, 20 Aug 2026, Anthony Iliopoulos wrote:

> 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>

Thanks, queued for v7.4.


- Paul


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-08  2:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-20 13:13 [PATCH] riscv: remove unused profile.h includes Anthony Iliopoulos
2026-10-08  2:09 ` Paul Walmsley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®