]> git.baikalelectronics.ru Git - kernel.git/commit
drm/radeon/ci_dpm: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Fri, 2 Sep 2022 07:31:48 +0000 (07:31 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 13 Sep 2022 18:32:58 +0000 (14:32 -0400)
commitae4ca48a5667e8c28a788ac26bbe36d0998192eb
treedc21f93b3dc46b264584dfb65a416e0771ce9e45
parent2a09c480bbf217163705ecead2016b648fe0f27e
drm/radeon/ci_dpm: Remove the unneeded result variable

Return the value ci_load_smc_ucode() 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>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/ci_dpm.c