]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: tegra194: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Wed, 31 Aug 2022 03:32:13 +0000 (03:32 +0000)
committerViresh Kumar <viresh.kumar@linaro.org>
Thu, 1 Sep 2022 04:12:12 +0000 (09:42 +0530)
commit958dd6e96c22c278f83ad3a38ac826b68cb76fda
treee9fb302a76e66a693179f32bfcca494d5d2000c2
parentdf63e1768dddc7f132784665ef682ea1a5ce27ed
cpufreq: tegra194: Remove the unneeded result variable

Return the value returned by smp_call_function_single() directly instead
of storing it in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn>
[ Viresh: Minor update to commit log ]
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/tegra194-cpufreq.c