diff options
| -rw-r--r-- | drivers/cpufreq/cpufreq.c | 3 | ||||
| -rw-r--r-- | include/linux/cpufreq.h | 2 |
2 files changed, 0 insertions, 5 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index 70b568a253e9..60ef37d569c5 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c | |||
| @@ -1086,10 +1086,7 @@ static int update_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu, | |||
| 1086 | } | 1086 | } |
| 1087 | 1087 | ||
| 1088 | down_write(&policy->rwsem); | 1088 | down_write(&policy->rwsem); |
| 1089 | |||
| 1090 | policy->last_cpu = policy->cpu; | ||
| 1091 | policy->cpu = cpu; | 1089 | policy->cpu = cpu; |
| 1092 | |||
| 1093 | up_write(&policy->rwsem); | 1090 | up_write(&policy->rwsem); |
| 1094 | 1091 | ||
| 1095 | blocking_notifier_call_chain(&cpufreq_policy_notifier_list, | 1092 | blocking_notifier_call_chain(&cpufreq_policy_notifier_list, |
diff --git a/include/linux/cpufreq.h b/include/linux/cpufreq.h index 60b7b496565d..7e1a389b4e92 100644 --- a/include/linux/cpufreq.h +++ b/include/linux/cpufreq.h | |||
| @@ -66,8 +66,6 @@ struct cpufreq_policy { | |||
| 66 | unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs | 66 | unsigned int shared_type; /* ACPI: ANY or ALL affected CPUs |
| 67 | should set cpufreq */ | 67 | should set cpufreq */ |
| 68 | unsigned int cpu; /* cpu nr of CPU managing this policy */ | 68 | unsigned int cpu; /* cpu nr of CPU managing this policy */ |
| 69 | unsigned int last_cpu; /* cpu nr of previous CPU that managed | ||
| 70 | * this policy */ | ||
| 71 | struct clk *clk; | 69 | struct clk *clk; |
| 72 | struct cpufreq_cpuinfo cpuinfo;/* see above */ | 70 | struct cpufreq_cpuinfo cpuinfo;/* see above */ |
| 73 | 71 | ||
