Skip to contentSkip to conversation

cpufreq: amd-pstate: cleanup the unused and duplicated headers declaration

PATCH Superseded Perry Yuan 1 participant 1 message Jul 7, 2022

Subsystems (2)

v1 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Perry Yuan

author reviewer
#0 lore raw

PATCH 3/12 cpufreq: amd-pstate: cleanup the unused and duplicated headers declaration

Cleanup the headers declaration which are not used actually and some duplicated declaration which is declarated in some other headers already, it will help to simplify the header part.

---
 drivers/cpufreq/amd-pstate.c | 5 -----
 1 file changed, 5 deletions(-)
drivers/cpufreq/amd-pstate.c +0 -5
index 188e055e24a2..43e6df9f67f6 100644
@@ -31,19 +31,14 @@
 #include <linux/compiler.h>
 #include <linux/dmi.h>
 #include <linux/slab.h>
-#include <linux/acpi.h>
 #include <linux/io.h>
 #include <linux/delay.h>
 #include <linux/uaccess.h>
 #include <linux/static_call.h>
 
-#include <acpi/processor.h>
 #include <acpi/cppc_acpi.h>
 
 #include <asm/msr.h>
-#include <asm/processor.h>
-#include <asm/cpufeature.h>
-#include <asm/cpu_device_id.h>
 #include "amd-pstate-trace.h"
 
 #define AMD_PSTATE_TRANSITION_LATENCY	0x20000
Signature · 1 line
2.25.1