drm/amd/display: remove redundant vertical_line_start variable
authorJinpeng Cui <cui.jinpeng2@zte.com.cn>
Mon, 29 Aug 2022 12:13:20 +0000 (12:13 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Aug 2022 21:59:30 +0000 (17:59 -0400)
commit74d834044e2849aea1a75c4b3cdaf38917ed3c5e
treec08f783beb988064aa3e9bab2f0db070dd582ca6
parent9d84c7ef8a872253a9e8a9865ad5efaa0f8c05d5
drm/amd/display: remove redundant vertical_line_start variable

Return value from expression directly instead of
taking this in another redundant variable.

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Jinpeng Cui <cui.jinpeng2@zte.com.cn>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c