summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
diff options
context:
space:
mode:
authorAndrey Vatoropin <a.vatoropin@crpt.ru>2025-04-02 17:21:39 +0300
committerAlex Deucher <alexander.deucher@amd.com>2025-04-07 22:18:59 +0300
commitd53a64e9ee58c3567955db6147d34f00c90065ed (patch)
tree75080c652aa14ed0d1a8a11950c47734a9c5a809 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
parent5df0d6addb7e9b6f71f7162d1253762a5be9138e (diff)
downloadlinux-d53a64e9ee58c3567955db6147d34f00c90065ed.tar.xz
drm/amd/display: Remove the redundant NULL check
Static analysis shows that pointer "timing" cannot be NULL because it points to the object "struct dc_crtc_timing". Remove the extra NULL check. It is meaningless and harms the readability of the code. Found by Linux Verification Center (linuxtesting.org) with SVACE. Reviewed-by: Alex Hung <alex.hung@amd.com> Signed-off-by: Andrey Vatoropin <a.vatoropin@crpt.ru> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions