drm/amd/display/dc/gpio/hw_ddc: Remove unused variable 'reg2'
authorLee Jones <lee.jones@linaro.org>
Mon, 11 Jan 2021 19:18:49 +0000 (19:18 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:53:25 +0000 (23:53 -0500)
commit93e67af42d1920f5ef72f3bd0ed7bafb9e9b7e44
tree2b1f3ae5266b4fba1c9a5ac3538acb29bbbf7289
parent08c06e26d4d99318e30135f4d69bb85dffec89aa
drm/amd/display/dc/gpio/hw_ddc: Remove unused variable 'reg2'

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

 drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_ddc.c: In function ‘set_config’:
 drivers/gpu/drm/amd/amdgpu/../display/dc/gpio/hw_ddc.c:110:13: warning: variable ‘reg2’ 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/gpio/hw_ddc.c