]> git.karo-electronics.de Git - linux-beck.git/commitdiff
speedstep-centrino: Remove unnecessary braces
authorEvgeny Kapaev <orener300@gmail.com>
Tue, 15 Oct 2013 17:42:52 +0000 (21:42 +0400)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 16 Oct 2013 22:21:06 +0000 (00:21 +0200)
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>
drivers/cpufreq/speedstep-centrino.c

index 6b882c7b32198a361b25472d8bceada2132e19f9..25e45f89acac1b550c227c969e9fe9ebf659b077 100644 (file)
@@ -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. */