提交 83844510 编写于 作者: D Dave Jones

[CPUFREQ] Remove pointless reinitialisation from powernow-k8

This var is already set at entry to the function.
Signed-off-by: NDave Jones <davej@redhat.com>
上级 8eebf1a4
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册