diff options
| author | Maíra Canal <[email protected]> | 2022-07-14 16:45:04 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-07-25 13:31:02 +0000 |
| commit | 869618c3440227f848ff9ac55aa64d523a60476e (patch) | |
| tree | aae2608aa528da4ae24f3204cad4d0812819ef87 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | drm/amd/display: Remove unused variables from dcn10_stream_encoder (diff) | |
| download | kernel-869618c3440227f848ff9ac55aa64d523a60476e.tar.gz kernel-869618c3440227f848ff9ac55aa64d523a60476e.zip | |
drm/amd/display: Remove unused MaxUsedBW variable
Remove the variable MaxUsedBW from the function
DISPCLKDPPCLKDCFCLKDeepSleepPrefetchParametersWatermarksAndPerformanceCalculation.
As a side-effect, the variables MaxPerPlaneVActiveWRBandwidth and
WRBandwidth are also removed.
This was pointed by clang with the following warning:
drivers/gpu/drm/amd/amdgpu/../display/dc/dml/dcn30/display_mode_vba_30.c:3043:10:
warning: variable 'MaxUsedBW' set but not used [-Wunused-but-set-variable]
double MaxUsedBW = 0;
^
1 warning 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
