diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-05-18 23:06:38 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-05-21 13:44:24 +0200 |
commit | c22d1cb0dcfaf1d9afad9792c796075112a747e7 (patch) | |
tree | f4b6910eafc350b818e6ac6a6af3a396e75d835b | |
parent | f53908680ce4550a28810e967a0dd77176372d6d (diff) | |
download | linux-stable-c22d1cb0dcfaf1d9afad9792c796075112a747e7.tar.gz linux-stable-c22d1cb0dcfaf1d9afad9792c796075112a747e7.tar.bz2 linux-stable-c22d1cb0dcfaf1d9afad9792c796075112a747e7.zip |
cpufreq: tegra20: Remove unnecessary parentheses
Remove unnecessary parentheses as suggested by the checkpatch script.
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Acked-by: Thierry Reding <treding@nvidia.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/tegra20-cpufreq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/tegra20-cpufreq.c b/drivers/cpufreq/tegra20-cpufreq.c index df25e350c8e6..4b85a6733533 100644 --- a/drivers/cpufreq/tegra20-cpufreq.c +++ b/drivers/cpufreq/tegra20-cpufreq.c @@ -50,7 +50,7 @@ static unsigned int tegra_get_intermediate(struct cpufreq_policy *policy, * - we are already at it, i.e. policy->cur == ifreq * - index corresponds to ifreq */ - if ((freq_table[index].frequency == ifreq) || (policy->cur == ifreq)) + if (freq_table[index].frequency == ifreq || policy->cur == ifreq) return 0; return ifreq; |