ソースを参照

[CPUFREQ] Fix another redundant initialisation in freq_table

Signed-off-by: Dave Jones <davej@redhat.com>
Dave Jones 19 年 前
コミット
5557976ca9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/cpufreq/freq_table.c

+ 1 - 1
drivers/cpufreq/freq_table.c

@@ -51,7 +51,7 @@ int cpufreq_frequency_table_verify(struct cpufreq_policy *policy,
 				   struct cpufreq_frequency_table *table)
 {
 	unsigned int next_larger = ~0;
-	unsigned int i = 0;
+	unsigned int i;
 	unsigned int count = 0;
 
 	dprintk("request for verification of policy (%u - %u kHz) for cpu %u\n", policy->min, policy->max, policy->cpu);