]> Gentwo Git Trees - linux/.git/commit
drm/amd/display: clean-up dead code in dml2_mall_phantom
authorBrahmajit Das <listout@listout.xyz>
Thu, 21 Aug 2025 12:01:33 +0000 (17:31 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 27 Aug 2025 17:57:48 +0000 (13:57 -0400)
commitf117eca965c797c5efb55ee40543cb37b9cb7d23
treef47a4e7ef6b36773d9d94ad4b586b46edb0e254a
parent863a17904a8250aeb2692f703721b70cda8a1c82
drm/amd/display: clean-up dead code in dml2_mall_phantom

pipe_idx in funtion dml2_svp_validate_static_schedulabilit, although set
is never actually used. While building with GCC 16 this gives a warning:

drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_mall_phantom.c: In function ‘set_phantom_stream_timing’:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2_mall_phantom.c:657:25: warning: variable ‘pipe_idx’ set but not used [-Wunused-but-set-variable=]
  657 |         unsigned int i, pipe_idx;
      |                         ^~~~~~~~

Signed-off-by: Brahmajit Das <listout@listout.xyz>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml2/dml2_mall_phantom.c