summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq
diff options
context:
space:
mode:
authorEvgeny Kapaev <orener300@gmail.com>2013-10-15 19:42:52 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-10-17 00:21:06 +0200
commit7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7 (patch)
tree65b84c0b4eca2c18f4bd17767b99a28fd37e7cbb /drivers/cpufreq
parentacpi-cpufreq: Add comment under ACPI_ADR_SPACE_SYSTEM_IO case (diff)
downloadlinux-7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7.tar.xz
linux-7b6f38f09ebb4b88e8ed7740bcbcc08a8882bbb7.zip
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')
-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. */