summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq.c
diff options
context:
space:
mode:
authorStratos Karafotis <stratosk@semaphore.gr>2014-03-20 01:25:13 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-03-20 03:40:48 +0100
commitbda9f552f9826313ef8a477fc8e4891de9ae5e73 (patch)
tree45ee4edaccc047709e9aeccc189b300016609fc2 /drivers/cpufreq/cpufreq.c
parente5c87b762871c3377e456f6a57769dc63bdddd4b (diff)
downloadlwn-bda9f552f9826313ef8a477fc8e4891de9ae5e73.tar.gz
lwn-bda9f552f9826313ef8a477fc8e4891de9ae5e73.zip
cpufreq: Remove unnecessary braces
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>
Diffstat (limited to 'drivers/cpufreq/cpufreq.c')
-rw-r--r--drivers/cpufreq/cpufreq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c
index 77a99bfea9a9..3c56c4759aa1 100644
--- 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);
- }
}
}