]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: remove set but not used variable 'dc'
authorZheng Bin <zhengbin13@huawei.com>
Thu, 30 Apr 2020 03:40:31 +0000 (11:40 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2020 20:49:05 +0000 (16:49 -0400)
commita62bcc6795803137c329e28a264d033522409804
treea5fbb3d56509b18c92875efb9eed1abd7c36479b
parent22da20b4e8947dfbb146ccab2d8ec160f986c2d6
drm/amd/display: remove set but not used variable 'dc'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:8665:13: warning: variable ‘dc’ set but not used [-Wunused-but-set-variable]

It is not used since commit 2f89307e7b00 ("drm/amd/display:
Unify psr feature flags")

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zheng Bin <zhengbin13@huawei.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c