]> 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)
commit87717cdc0934edabdbd89e497ed2f7af593c9305
tree98fd09a84323d04e733f4cb67646649b22f719b5
parentfeb2a10497fe94cec5de13145f500f79268e6c35
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