Skip to content

Commit

Permalink
Merge branch 'acpi-cppc'
Browse files Browse the repository at this point in the history
* acpi-cppc:
  ACPI: CPPC: remove initial assignment of pcc_ss_data
  • Loading branch information
Rafael J. Wysocki committed Dec 20, 2017
2 parents bb82e0b + 951ef0e commit 9245fe9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/cppc_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9245fe9

Please sign in to comment.