Browse Source

[CPUFREQ] Remove duplicate assignment from cpufreq-nforce2

Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones 19 years ago
parent
commit
851777b7b6
1 changed files with 1 additions and 2 deletions
  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;
 
 	/* 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 */
 	for (temp = 0; temp <= 0x3f; temp++)