diff options
| author | Andrey Vatoropin <[email protected]> | 2025-04-02 14:21:39 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-04-07 19:18:59 +0000 |
| commit | d53a64e9ee58c3567955db6147d34f00c90065ed (patch) | |
| tree | 75080c652aa14ed0d1a8a11950c47734a9c5a809 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | drm/amdgpu: Add basic validation for RAS header (diff) | |
| download | kernel-d53a64e9ee58c3567955db6147d34f00c90065ed.tar.gz kernel-d53a64e9ee58c3567955db6147d34f00c90065ed.zip | |
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 <[email protected]>
Signed-off-by: Andrey Vatoropin <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
