linux-next: build warning after merge of the amdgpu tree
From: Stephen Rothwell
Date: Thu May 27 2021 - 21:50:37 EST
Hi all,
After merging the amdgpu tree, today's linux-next build (x86_64
allmodconfig) produced this warning:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c: In function 'apply_dsc_policy_for_stream':
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5576:24: warning: unused variable 'drm_connector' [-Wunused-variable]
5576 | struct drm_connector *drm_connector = &aconnector->base;
| ^~~~~~~~~~~~~
At top level:
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5572:13: warning: 'apply_dsc_policy_for_stream' defined but not used [-Wunused-function]
5572 | static void apply_dsc_policy_for_stream(struct amdgpu_dm_connector *aconnector,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/gpu/drm/amd/amdgpu/../display/amdgpu_dm/amdgpu_dm.c:5556:13: warning: 'update_dsc_caps' defined but not used [-Wunused-function]
5556 | static void update_dsc_caps(struct amdgpu_dm_connector *aconnector,
| ^~~~~~~~~~~~~~~
Introduced by commit
998b7ad2efd4 ("drm/amd/display: Refactor SST DSC Determination Policy")
--
Cheers,
Stephen Rothwell
Attachment:
pgpnPHZ4lipma.pgp
Description: OpenPGP digital signature