[PATCH] arc: remove unused profile.h includes

Anthony Iliopoulos posted 1 patch 1 month, 1 week ago
arch/arc/kernel/smp.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] arc: 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/arc/kernel/smp.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
index 2d99dffed0ce..ee210a94ce45 100644
--- a/arch/arc/kernel/smp.c
+++ b/arch/arc/kernel/smp.c
@@ -12,7 +12,6 @@
 #include <linux/spinlock.h>
 #include <linux/sched/mm.h>
 #include <linux/interrupt.h>
-#include <linux/profile.h>
 #include <linux/mm.h>
 #include <linux/cpu.h>
 #include <linux/irq.h>
-- 
2.55.0
Re: [PATCH] arc: remove unused profile.h includes
Posted by Vineet Gupta 1 month ago
On 8/20/26 06:13, 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>

Acked-by: Vineet Gupta <vgupta@kernel.org>

Thx,
-Vineet

> ---
>   arch/arc/kernel/smp.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/arch/arc/kernel/smp.c b/arch/arc/kernel/smp.c
> index 2d99dffed0ce..ee210a94ce45 100644
> --- a/arch/arc/kernel/smp.c
> +++ b/arch/arc/kernel/smp.c
> @@ -12,7 +12,6 @@
>   #include <linux/spinlock.h>
>   #include <linux/sched/mm.h>
>   #include <linux/interrupt.h>
> -#include <linux/profile.h>
>   #include <linux/mm.h>
>   #include <linux/cpu.h>
>   #include <linux/irq.h>