projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cpufreq: Drop redundant check from cpufreq_update_current_freq()
[cascardo/linux.git]
/
drivers
/
cpufreq
/
cpufreq.c
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index
5918e95
..
118b4f3
100644
(file)
--- a/
drivers/cpufreq/cpufreq.c
+++ b/
drivers/cpufreq/cpufreq.c
@@
-1544,9
+1544,6
@@
static unsigned int cpufreq_update_current_freq(struct cpufreq_policy *policy)
{
unsigned int new_freq;
- if (cpufreq_suspended)
- return 0;
-
new_freq = cpufreq_driver->get(policy->cpu);
if (!new_freq)
return 0;