diff options
| author | Anthony Iliopoulos <ailiop@suse.com> | 2026-09-04 21:44:43 +0800 |
|---|---|---|
| committer | Huacai Chen <chenhuacai@loongson.cn> | 2026-09-04 21:44:43 +0800 |
| commit | 3e1b64bd8cd2bc15c514d90b3dd0a55c53302f3a (patch) | |
| tree | 6b1ef532c11fd860c76ffa6b977096fa3cdadc22 | |
| parent | 20a9e97137caaa3fbb27f22f83a5ad80cbd03b01 (diff) | |
| download | linux-next-3e1b64bd8cd2bc15c514d90b3dd0a55c53302f3a.tar.gz linux-next-3e1b64bd8cd2bc15c514d90b3dd0a55c53302f3a.zip | |
LoongArch: Remove unused setup_profiling_timer() function
setup_profiling_timer() is not used by any code at this point. Since a
default weak implementation exists, there is no need to still keep this
arch-specific definition around. Remove it along with the now-redundant
profile header includes.
Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
| -rw-r--r-- | arch/loongarch/kernel/smp.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/loongarch/kernel/smp.c b/arch/loongarch/kernel/smp.c index d4b5d1b6bb01..11f54837f56c 100644 --- a/arch/loongarch/kernel/smp.c +++ b/arch/loongarch/kernel/smp.c @@ -14,7 +14,6 @@ #include <linux/init.h> #include <linux/interrupt.h> #include <linux/irq_work.h> -#include <linux/profile.h> #include <linux/seq_file.h> #include <linux/smp.h> #include <linux/threads.h> @@ -716,13 +715,6 @@ void smp_send_stop(void) smp_call_function(stop_this_cpu, NULL, 0); } -#ifdef CONFIG_PROFILING -int setup_profiling_timer(unsigned int multiplier) -{ - return 0; -} -#endif - static void flush_tlb_all_ipi(void *info) { local_flush_tlb_all(); |
