summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-05-30 23:58:41 +0200
committerDave Jones <davej@redhat.com>2006-05-30 23:58:41 +0200
commit355eb318018c6f44a335b0e5efb1f3bf2f1685d0 (patch)
tree278afd3f9be8f7ac3c58d1fa4d37d73569bb410c
parent[CPUFREQ] CodingStyle nits in cpufreq_stats.c (diff)
downloadlinux-355eb318018c6f44a335b0e5efb1f3bf2f1685d0.tar.xz
linux-355eb318018c6f44a335b0e5efb1f3bf2f1685d0.zip
[CPUFREQ] Remove duplicate assignment in freq_table
Signed-off-by: Dave Jones <davej@redhat.com>
-rw-r--r--drivers/cpufreq/freq_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/freq_table.c b/drivers/cpufreq/freq_table.c
index a4818ce88919..78cfe8c0346b 100644
--- a/drivers/cpufreq/freq_table.c
+++ b/drivers/cpufreq/freq_table.c
@@ -20,7 +20,7 @@ int cpufreq_frequency_table_cpuinfo(struct cpufreq_policy *policy,
{
unsigned int min_freq = ~0;
unsigned int max_freq = 0;
- unsigned int i = 0;
+ unsigned int i;
for (i=0; (table[i].frequency != CPUFREQ_TABLE_END); i++) {
unsigned int freq = table[i].frequency;