Skip to content

Commit

Permalink
[CPUFREQ] Remove duplicate check in powernow-k8
Browse files Browse the repository at this point in the history
Remove a duplicate NULL pointer check introduced by commit
4211a30

Signed-off-by: Tobias Klauser <tklauser@nuerscht.ch>
Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Tobias Klauser authored and Dave Jones committed Apr 18, 2006
1 parent 7b14ded commit 3aee086
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 3aee086

Please sign in to comment.