diff options
author | Marc Zyngier <maz@kernel.org> | 2021-04-14 14:44:08 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2021-04-22 13:32:39 +0100 |
commit | ac21ecf5ad32b89909bee2b50161ce93d6462b7d (patch) | |
tree | 9f585ef1764c6382ff8396b7ad02ca14f1dba790 /arch/sh | |
parent | 8c3f7913a106aa8b94d331cb59709c84a9a1d55b (diff) |
sh: Get rid of oprofile leftovers
perf_pmu_name() and perf_num_counters() are unused. Drop them.
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210414134409.1266357-5-maz@kernel.org
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/kernel/perf_event.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/sh/kernel/perf_event.c b/arch/sh/kernel/perf_event.c index 445e3ece4c23..1d2507f22437 100644 --- a/arch/sh/kernel/perf_event.c +++ b/arch/sh/kernel/perf_event.c @@ -57,24 +57,6 @@ static inline int sh_pmu_initialized(void) return !!sh_pmu; } -const char *perf_pmu_name(void) -{ - if (!sh_pmu) - return NULL; - - return sh_pmu->name; -} -EXPORT_SYMBOL_GPL(perf_pmu_name); - -int perf_num_counters(void) -{ - if (!sh_pmu) - return 0; - - return sh_pmu->num_events; -} -EXPORT_SYMBOL_GPL(perf_num_counters); - /* * Release the PMU if this is the last perf_event. */ |