diff options
author | Nikita Zhandarovich <n.zhandarovich@fintech.ru> | 2024-01-17 06:45:14 -0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2024-01-22 16:56:28 -0500 |
commit | 059e7c6b8f5e4af624fc38cf99dd891051bd94d3 (patch) | |
tree | 3c6a69fe06d52087353f0204a6319989424e25fc /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h | |
parent | bf38a4e4ab6833174ba81bd1c13f7620cd920583 (diff) |
drm/radeon/ni_dpm: remove redundant NULL check
'leakage_table' will always be successfully initialized as a pointer
to '&rdev->pm.dpm.dyn_state.cac_leakage_table'.
Remove unnecessary check if only to silence static checkers.
Found by Linux Verification Center (linuxtesting.org) with static
analysis tool Svace.
Fixes: 69e0b57a91ad ("drm/radeon/kms: add dpm support for cayman (v5)")
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.h')
0 files changed, 0 insertions, 0 deletions