Skip to content

Commit

Permalink
[CPUFREQ] Remove pointless reinitialisation from powernow-k8
Browse files Browse the repository at this point in the history
This var is already set at entry to the function.

Signed-off-by: Dave Jones <davej@redhat.com>
  • Loading branch information
Dave Jones committed May 30, 2006
1 parent 8eebf1a commit 8384451
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions arch/i386/kernel/cpu/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8384451

Please sign in to comment.