Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273451
b: refs/heads/master
c: ded8433
h: refs/heads/master
i:
  273449: ddc2d75
  273447: 2a35427
v: v3
  • Loading branch information
Axel Lin authored and Dave Jones committed Oct 26, 2011
1 parent aabf6de commit b2ccf09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0073f538c1c35f996982b583f5de7a6a43408b9b
refs/heads/master: ded84337ac820700f1b9dda724201e64b2ad3536
5 changes: 0 additions & 5 deletions trunk/drivers/cpufreq/db8500-cpufreq.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ static unsigned int db8500_cpufreq_getspeed(unsigned int cpu)
static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy)
{
int res;
int i;

BUILD_BUG_ON(ARRAY_SIZE(idx2opp) + 1 != ARRAY_SIZE(freq_table));

Expand All @@ -128,10 +127,6 @@ static int __cpuinit db8500_cpufreq_init(struct cpufreq_policy *policy)
policy->min = policy->cpuinfo.min_freq;
policy->max = policy->cpuinfo.max_freq;
policy->cur = db8500_cpufreq_getspeed(policy->cpu);

for (i = 0; freq_table[i].frequency != policy->cur; i++)
;

policy->governor = CPUFREQ_DEFAULT_GOVERNOR;

/*
Expand Down

0 comments on commit b2ccf09

Please sign in to comment.