From: Viresh Kumar Date: Fri, 2 Jan 2015 07:04:23 +0000 (+0530) Subject: cpufreq: remove extra parenthesis X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f13f1184a1f4e046306c33e542b4d654866e5d70;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git cpufreq: remove extra parenthesis We can live without it and so we should. Signed-off-by: Viresh Kumar Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/cpufreq.c b/drivers/cpufreq/cpufreq.c index a95cdc5aa3c5..a180bb40054c 100644 --- a/drivers/cpufreq/cpufreq.c +++ b/drivers/cpufreq/cpufreq.c @@ -903,7 +903,7 @@ static int cpufreq_add_dev_interface(struct cpufreq_policy *policy, /* set up files for this cpu device */ drv_attr = cpufreq_driver->attr; - while ((drv_attr) && (*drv_attr)) { + while (drv_attr && *drv_attr) { ret = sysfs_create_file(&policy->kobj, &((*drv_attr)->attr)); if (ret) return ret;