]> git.dujemihanovic.xyz Git - linux.git/commit
drm/amd/display: Remove unnecessary variable
authorRodrigo Siqueira <rodrigo.siqueira@amd.com>
Mon, 1 May 2023 22:30:54 +0000 (16:30 -0600)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 9 Jun 2023 13:39:53 +0000 (09:39 -0400)
commit50a32b8cf4d7624eb8606b4cb7bc6dee37703da6
treee54b96e90f3ecd42e2a672d9e9aa15b96dd0a064
parentfe9fa3859b66caf4a6923598c8e343b8a32ec5d1
drm/amd/display: Remove unnecessary variable

There is no need to use dc_version in the dc_construct_ctx since this
value is copied to dc_ctx->dce_version later. This commit removes the
extra steps.

Reviewed-by: Alex Hung <alex.hung@amd.com>
Acked-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Rodrigo Siqueira <rodrigo.siqueira@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c