drm/amd/display: Remove unused globals FORCE_RATE and FORCE_LANE_COUNT
authorTom Rix <trix@redhat.com>
Sun, 26 Jun 2022 14:20:53 +0000 (10:20 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 29 Jun 2022 21:11:41 +0000 (17:11 -0400)
commit70f1fcbc83582419fd753701c5abe674e05db785
tree9870101a8ec9992c5488a62ebf4cac941a645b5c
parent7bb97c5a39ecebc8ff5db1491fe4e7a8129f93d5
drm/amd/display: Remove unused globals FORCE_RATE and FORCE_LANE_COUNT

sparse reports
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:3885:6: warning: symbol 'FORCE_RATE' was not declared. Should it be static?
drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc_link_dp.c:3886:10: warning: symbol 'FORCE_LANE_COUNT' was not declared. Should it be static?

Neither of thse variables is used in dc_link_dp.c.  Reviewing the commit listed in
the fixes tag shows neither was used in the original patch.  So remove them.

Fixes: 265280b99822 ("drm/amd/display: add CLKMGR changes for DCN32/321")
Reviewed-by: Aurabindo Pillai <aurabindo.pillai@amd.com>
Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc_link_dp.c