Skip to content

Commit c22d1cb

Browse files
digetxrafaeljw
authored andcommitted
cpufreq: tegra20: Remove unnecessary parentheses
Remove unnecessary parentheses as suggested by the checkpatch script. Signed-off-by: Dmitry Osipenko <[email protected]> Acked-by: Thierry Reding <[email protected]> Acked-by: Viresh Kumar <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent f539086 commit c22d1cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpufreq/tegra20-cpufreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ static unsigned int tegra_get_intermediate(struct cpufreq_policy *policy,
5050
* - we are already at it, i.e. policy->cur == ifreq
5151
* - index corresponds to ifreq
5252
*/
53-
if ((freq_table[index].frequency == ifreq) || (policy->cur == ifreq))
53+
if (freq_table[index].frequency == ifreq || policy->cur == ifreq)
5454
return 0;
5555

5656
return ifreq;

0 commit comments

Comments
 (0)