summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2006-05-30 17:58:41 -0400
committerDave Jones <davej@redhat.com>2006-05-30 17:58:41 -0400
commit355eb318018c6f44a335b0e5efb1f3bf2f1685d0 (patch)
tree278afd3f9be8f7ac3c58d1fa4d37d73569bb410c /drivers/cpufreq
parent511e9ee17099c6ebe315c0524b8b482d4767ab3d (diff)
downloadlinux-355eb318018c6f44a335b0e5efb1f3bf2f1685d0.tar.gz
linux-355eb318018c6f44a335b0e5efb1f3bf2f1685d0.tar.bz2
linux-355eb318018c6f44a335b0e5efb1f3bf2f1685d0.zip
[CPUFREQ] Remove duplicate assignment in freq_table
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'drivers/cpufreq')
-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;