projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5c87b7
)
cpufreq: Remove unnecessary braces
author
Stratos Karafotis
<stratosk@semaphore.gr>
Wed, 19 Mar 2014 23:25:13 +0000
(
01:25
+0200)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Thu, 20 Mar 2014 02:40:48 +0000
(
03:40
+0100)
Remove unnecessary braces from a single statement.
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c
patch
|
blob
|
history
diff --git
a/drivers/cpufreq/cpufreq.c
b/drivers/cpufreq/cpufreq.c
index
77a99bf
..
3c56c47
100644
(file)
--- a/
drivers/cpufreq/cpufreq.c
+++ b/
drivers/cpufreq/cpufreq.c
@@
-1333,10
+1333,9
@@
static int __cpufreq_remove_dev_prepare(struct device *dev,
if (new_cpu >= 0) {
update_policy_cpu(policy, new_cpu);
- if (!cpufreq_suspended)
{
+ if (!cpufreq_suspended)
pr_debug("%s: policy Kobject moved to cpu: %d from: %d\n",
__func__, new_cpu, cpu);
- }
}
}