[CPUFREQ] Remove duplicate check in powernow-k8
authorTobias Klauser <tklauser@nuerscht.ch>
Mon, 10 Apr 2006 17:20:12 +0000 (19:20 +0200)
committerDave 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

index 7c0e160a214503e44a8209fc000900e23b5b9010..30bb6fd5b2b268762faea09b5b9969e0fda47c44 100644 (file)
@@ -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;