projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b14ded
)
[CPUFREQ] Remove duplicate check in powernow-k8
author
Tobias Klauser
<tklauser@nuerscht.ch>
Mon, 10 Apr 2006 17:20:12 +0000
(19:20 +0200)
committer
Dave Jones
<davej@redhat.com>
Tue, 18 Apr 2006 22:24:52 +0000
(17:24 -0500)
Remove a duplicate NULL pointer check introduced by commit
4211a30349e8d2b724cfb4ce2584604f5e59c299
Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Dave Jones <davej@redhat.com>
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
patch
|
blob
|
history
diff --git
a/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
b/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
index 7c0e160a214503e44a8209fc000900e23b5b9010..30bb6fd5b2b268762faea09b5b9969e0fda47c44 100644
(file)
--- a/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
+++ b/
arch/i386/kernel/cpu/cpufreq/powernow-k8.c
@@
-1106,9
+1106,6
@@
static unsigned int powernowk8_get (unsigned int cpu)
data = powernow_data[first_cpu(cpu_core_map[cpu])];
- if (!data)
- return -EINVAL;
-
if (!data)
return -EINVAL;