浏览代码

[CPUFREQ] Remove duplicate assignment from cpufreq-nforce2

Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones 19 年之前
父节点
当前提交
851777b7b6
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c

+ 1 - 2
arch/i386/kernel/cpu/cpufreq/cpufreq-nforce2.c

@@ -117,8 +117,7 @@ static void nforce2_write_pll(int pll)
 	int temp;
 	int temp;
 
 
 	/* Set the pll addr. to 0x00 */
 	/* Set the pll addr. to 0x00 */
-	temp = 0x00;
-	pci_write_config_dword(nforce2_chipset_dev, NFORCE2_PLLADR, temp);
+	pci_write_config_dword(nforce2_chipset_dev, NFORCE2_PLLADR, 0);
 
 
 	/* Now write the value in all 64 registers */
 	/* Now write the value in all 64 registers */
 	for (temp = 0; temp <= 0x3f; temp++)
 	for (temp = 0; temp <= 0x3f; temp++)