diff options
| author | Alex Hung <[email protected]> | 2024-10-16 18:23:58 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2024-10-28 20:36:26 +0000 |
| commit | d2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a (patch) | |
| tree | c88abd64042fc6ccee8d66dd58a91195cd1b71fd /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/amd/display: Remove useless assignments and variables (diff) | |
| download | kernel-d2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a.tar.gz kernel-d2bf27be839e89c6fd24b3ad3a2b38dcbfbf378a.zip | |
drm/amd/display: Simplify dcn35_is_ips_supported()
[WHAT & HOW]
The variable "ips_supported" is redundant and we can return from
dcn35_smu_get_ips_supported directly.
This fixes 1 UNUSED_VALUE issue reported by Coverity.
Reviewed-by: Rodrigo Siqueira <[email protected]>
Signed-off-by: Alex Hung <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
