projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8eebf1a
)
[CPUFREQ] Remove pointless reinitialisation from powernow-k8
author
Dave Jones
<davej@redhat.com>
Tue, 30 May 2006 21:43:54 +0000
(17:43 -0400)
committer
Dave Jones
<davej@redhat.com>
Tue, 30 May 2006 21:43:54 +0000
(17:43 -0400)
This var is already set at entry to the function.
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index 88425bd55e1216f2450181a3186d0b971402fa62..517de6cb0d0a711066d22d632e3106286d652ff8 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@
-933,10
+933,8
@@
static int powernowk8_target(struct cpufreq_policy *pol, unsigned targfreq, unsi
dprintk("targ: cpu %d, %d kHz, min %d, max %d, relation %d\n",
pol->cpu, targfreq, pol->min, pol->max, relation);
- if (query_current_values_with_pending_wait(data)) {
- ret = -EIO;
+ if (query_current_values_with_pending_wait(data))
goto err_out;
- }
dprintk("targ: curr fid 0x%x, vid 0x%x\n",
data->currfid, data->currvid);