drm/amd/display/dc/dce120/dce120_hw_sequencer: Encompass defines in same clause as...
authorLee Jones <lee.jones@linaro.org>
Mon, 11 Jan 2021 19:18:56 +0000 (19:18 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 14 Jan 2021 04:53:26 +0000 (23:53 -0500)
commit9c92cda39cd1010c16ca12d441031dbafa766d83
tree22c2f013023f6cbe1863d558241b59d040560590
parent469b1133804ef1fb78508ab5857b061b48ac86f5
drm/amd/display/dc/dce120/dce120_hw_sequencer: Encompass defines in same clause as their use

Ideally someone should strip-out all these garbage 'if 0's.

Tempted to carry out the work myself on principle!

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

 drivers/gpu/drm/amd/amdgpu/../display/dc/dce120/dce120_hw_sequencer.c:53:47: warning: ‘reg_offsets’ defined but not used [-Wunused-const-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/dce120/dce120_hw_sequencer.c