]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display/dc/core/dc_link: Remove unused variable 'status'
authorLee Jones <lee.jones@linaro.org>
Wed, 13 Jan 2021 08:07:29 +0000 (08:07 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 18:20:20 +0000 (13:20 -0500)
commit01e995e7202b3d7e8f34583de2a40378d338526a
treef36a60c7fe68154da75a63c1a3c8ae03a2ecb3a8
parent8889ad75f3662543fa874cdeb8b440fc33588344
drm/amd/display/dc/core/dc_link: Remove unused variable 'status'

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c: In function ‘query_hdcp_capability’:
 drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link.c:599:28: warning: variable ‘status’ set but not used [-Wunused-but-set-variable]

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link.c