]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Fix unused variable warning
authorTim Huang <tim.huang@amd.com>
Thu, 27 Jan 2022 02:48:41 +0000 (10:48 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Jan 2022 20:49:18 +0000 (15:49 -0500)
commit46a890a11554720189f2af84862229fff4950b78
tree7de89fcf1d8633a9674f6d45dbcf61bed13b9717
parenteefb958f8ad8f4c82a9e7bcd5c5ae53deaf9fe90
drm/amd/display: Fix unused variable warning

[Why]
It will build failed with unused variable 'dc' with
'-Werror=unused-variable'enabled when CONFIG_DRM_AMD_DC_DCN
is not defined.

Signed-off-by: Tim Huang <tim.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Aaron Liu <aaron.liu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c