diff options
| author | Maíra Canal <[email protected]> | 2022-07-14 16:45:01 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-07-25 13:31:02 +0000 |
| commit | 1cccdfe21eb6b8dd4371378b4b61223eb37f1ef7 (patch) | |
| tree | 997595052bdf3c7b8b5ea77ebebb1d77a827e04f /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: Remove unused NumberOfStates variable (diff) | |
| download | kernel-1cccdfe21eb6b8dd4371378b4b61223eb37f1ef7.tar.gz kernel-1cccdfe21eb6b8dd4371378b4b61223eb37f1ef7.zip | |
drm/amd/display: Remove unused variables from dml_rq_dlg_get_dlg_params
Remove the variables dispclk_delay_subtotal and dppclk_delay_subtotal from
the function dml_rq_dlg_get_dlg_params.
This was pointed by clang with the following warning:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_rq_dlg_calc_31.c:920:15:
warning: variable 'dispclk_delay_subtotal' set but not used [-Wunused-but-set-variable]
unsigned int dispclk_delay_subtotal;
^
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn31/display_rq_dlg_calc_31.c:919:15:
warning: variable 'dppclk_delay_subtotal' set but not used [-Wunused-but-set-variable]
unsigned int dppclk_delay_subtotal;
^
2 warnings generated.
Reviewed-by: André Almeida <[email protected]>
Signed-off-by: Maíra Canal <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
