summaryrefslogtreecommitdiff
path: root/drivers/acpi
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-12-20 15:51:26 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-12-20 15:51:26 +0100
commit9245fe9fccdbda5d81d97155e5c5de7e16510cee (patch)
tree36608a38797c60a8361a03f19b30595e06ee83ee /drivers/acpi
parentbb82e0b4a7e96494f0c1004ce50cec3d7b5fb3d1 (diff)
parent951ef0e19f0736b45d1c4d81f4dfa04a43f87df5 (diff)
Merge branch 'acpi-cppc'
* acpi-cppc: ACPI: CPPC: remove initial assignment of pcc_ss_data
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/cppc_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/cppc_acpi.c b/drivers/acpi/cppc_acpi.c
index 30e84cc600ae..06ea4749ebd9 100644
--- a/drivers/acpi/cppc_acpi.c
+++ b/drivers/acpi/cppc_acpi.c
@@ -1171,7 +1171,7 @@ int cppc_set_perf(int cpu, struct cppc_perf_ctrls *perf_ctrls)
struct cpc_desc *cpc_desc = per_cpu(cpc_desc_ptr, cpu);
struct cpc_register_resource *desired_reg;
int pcc_ss_id = per_cpu(cpu_pcc_subspace_idx, cpu);
- struct cppc_pcc_data *pcc_ss_data = pcc_data[pcc_ss_id];
+ struct cppc_pcc_data *pcc_ss_data;
int ret = 0;
if (!cpc_desc || pcc_ss_id < 0) {