]> git.hungrycats.org Git - linux/commitdiff
xtensa: remove unused setup_profiling_timer function
authorAnthony Iliopoulos <ailiop@suse.com>
Thu, 20 Aug 2026 12:36:51 +0000 (14:36 +0200)
committerMax Filippov <jcmvbkbc@gmail.com>
Mon, 24 Aug 2026 12:16:01 +0000 (05:16 -0700)
setup_profiling_timer() is not used by any code at this point. Since a
default weak implementation exists, there is no need to keep this
arch-specific definition around. Remove it along with the now-redundant
profile header includes.

Signed-off-by: Anthony Iliopoulos <ailiop@suse.com>
Message-ID: <20260820123711.142005-1-ailiop@suse.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
arch/xtensa/kernel/smp.c
arch/xtensa/kernel/time.c

index 94a23f1007264af2f0f313786b3b92a4ddab641f..e4c25d0c2158a359993536a05db108e991fe016c 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/irq.h>
 #include <linux/kdebug.h>
 #include <linux/module.h>
-#include <linux/profile.h>
 #include <linux/sched/mm.h>
 #include <linux/sched/hotplug.h>
 #include <linux/sched/task_stack.h>
@@ -459,12 +458,6 @@ void show_ipi_list(struct seq_file *p, int prec)
        }
 }
 
-int setup_profiling_timer(unsigned int multiplier)
-{
-       pr_debug("setup_profiling_timer %d\n", multiplier);
-       return 0;
-}
-
 /* TLB flush functions */
 
 struct flush_data {
index 1c3dfea843ece552956089f997b485833ac771b2..09fda6a3fe3bee9ee73f79e472c34751cd315d43 100644 (file)
@@ -23,7 +23,6 @@
 #include <linux/module.h>
 #include <linux/init.h>
 #include <linux/irq.h>
-#include <linux/profile.h>
 #include <linux/delay.h>
 #include <linux/irqdomain.h>
 #include <linux/sched_clock.h>