diff mbox series

[XEN] x86/cpufreq: clean up stale powernow_cpufreq_init()

Message ID 20240604084629.2418430-1-Sergiy_Kibrik@epam.com (mailing list archive)
State New
Headers show
Series [XEN] x86/cpufreq: clean up stale powernow_cpufreq_init() | expand

Commit Message

Sergiy Kibrik June 4, 2024, 8:46 a.m. UTC
Remove useless declaration. The routine itself was removed by following
commit long time ago:

   222013114 x86: Fix RevF detection in powernow.c

No functional change.

Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>
---
 xen/include/acpi/cpufreq/processor_perf.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Jan Beulich June 6, 2024, 7:01 a.m. UTC | #1
On 04.06.2024 10:46, Sergiy Kibrik wrote:
> Remove useless declaration. The routine itself was removed by following
> commit long time ago:
> 
>    222013114 x86: Fix RevF detection in powernow.c
> 
> No functional change.
> 
> Signed-off-by: Sergiy Kibrik <Sergiy_Kibrik@epam.com>

Reviewed-by: Jan Beulich <jbeulich@suse.com>

This actually addresses a Misra rule 8.6 violation, afaict. Would
be good to mention in the description (happy to add a sentence
when [eventually] committing).

Jan
diff mbox series

Patch

diff --git a/xen/include/acpi/cpufreq/processor_perf.h b/xen/include/acpi/cpufreq/processor_perf.h
index 5f48aceadb..301104e16f 100644
--- a/xen/include/acpi/cpufreq/processor_perf.h
+++ b/xen/include/acpi/cpufreq/processor_perf.h
@@ -7,7 +7,6 @@ 
 
 #define XEN_PX_INIT 0x80000000U
 
-int powernow_cpufreq_init(void);
 unsigned int powernow_register_driver(void);
 unsigned int get_measured_perf(unsigned int cpu, unsigned int flag);
 void cpufreq_residency_update(unsigned int cpu, uint8_t state);