]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2170919ba6f62a2b2a561083ffbf8b691f916ef8
tree98fd09a84323d04e733f4cb67646649b22f719b5
parentf04ca548cc94eb5c1cec277725a327acc29ab491
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