]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: Remove the unneeded result variable
authorye xingchen <ye.xingchen@zte.com.cn>
Tue, 20 Sep 2022 06:35:03 +0000 (06:35 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 20 Sep 2022 16:42:40 +0000 (12:42 -0400)
commit7d588f33ddb5efaeef24812d638e5041b040bdfa
treef53c3184aba477352e37275e0f7a92a452c4e49e
parentcc63874f2c523c5d7e831c881096ff55378f98cd
drm/amd/pm: Remove the unneeded result variable

Return the value append_vbios_pptable() 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/amd/pm/powerplay/hwmgr/vega12_processpptables.c