summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/speedstep-centrino.c
diff options
context:
space:
mode:
authorEvgeny Kapaev <orener300@gmail.com>2013-10-15 21:42:52 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-17 00:21:06 +0200
commit7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7 (patch)
tree65b84c0b4eca2c18f4bd17767b99a28fd37e7cbb /drivers/cpufreq/speedstep-centrino.c
parent1bab64d50e09706ee2e634b2df3c53346f0a0dbb (diff)
speedstep-centrino: Remove unnecessary braces
As per coding style, braces {} are not necessary for single statement block Signed-off-by: Evgeny Kapaev <orener300@gmail.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/speedstep-centrino.c')
-rw-r--r--drivers/cpufreq/speedstep-centrino.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/speedstep-centrino.c b/drivers/cpufreq/speedstep-centrino.c
index 6b882c7b3219..25e45f89acac 100644
--- a/drivers/cpufreq/speedstep-centrino.c
+++ b/drivers/cpufreq/speedstep-centrino.c
@@ -371,9 +371,8 @@ static int centrino_cpu_init(struct cpufreq_policy *policy)
return -ENODEV;
}
- if (centrino_cpu_init_table(policy)) {
+ if (centrino_cpu_init_table(policy))
return -ENODEV;
- }
/* Check to see if Enhanced SpeedStep is enabled, and try to
enable it if not. */