cpufreq: Remove unnecessary braces
authorStratos Karafotis <stratosk@semaphore.gr>
Wed, 19 Mar 2014 23:25:13 +0000 (01:25 +0200)
committerRafael 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

index 77a99bfea9a9c43955d238b37f696b911068f1ba..3c56c4759aa1db59f04a6a9444f5c3fa60299fe0 100644 (file)
@@ -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);
-                       }
                }
        }