drm/amd/display: remove no need return value
authorBernard Zhao <bernard@vivo.com>
Mon, 12 Oct 2020 11:46:16 +0000 (04:46 -0700)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 14 Oct 2020 19:13:53 +0000 (15:13 -0400)
commit4fbb3ae219d2da0e21352c4eb1af6269b832ac10
tree98fd09a84323d04e733f4cb67646649b22f719b5
parent206b737240c36d3f1ddc7a1a68f13e59ad071022
drm/amd/display: remove no need return value

Functions (disable_all_writeback_pipes_for_stream &
dc_enable_stereo & dc_post_update_surfaces_to_stream)
always return true, there is no need to keep the return value.
This change is to make the code a bit more readable.

Signed-off-by: Bernard Zhao <bernard@vivo.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c
drivers/gpu/drm/amd/display/dc/dc.h
drivers/gpu/drm/amd/display/dc/dc_stream.h