drm/amd/display/dc/link/link_detection: Remove unused variable 'status'
authorLee Jones <lee@kernel.org>
Fri, 17 Mar 2023 08:17:10 +0000 (08:17 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 22 Mar 2023 04:48:00 +0000 (00:48 -0400)
commitc54011512965ab221573b4d31ce1f5a279e15c15
tree5d81ee6d3ae633ad50618b1293236855f72a41e9
parentb8c6b225d9d82b5245479960f62f0e95d611cc18
drm/amd/display/dc/link/link_detection: Remove unused variable 'status'

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

 drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c: In function ‘query_hdcp_capability’:
 drivers/gpu/drm/amd/amdgpu/../display/dc/link/link_detection.c:501:42: 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: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: "Christian König" <christian.koenig@amd.com>
Cc: "Pan, Xinhui" <Xinhui.Pan@amd.com>
Cc: David Airlie <airlied@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Wenjing Liu <wenjing.liu@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/link/link_detection.c