mirror_ubuntu-kernels/drivers/gpu/drm/amd
Dan Carpenter 2d04559e06 drm/amd/display: Remove unnecessary NULL check in commit_planes_for_stream()
Smatch complains that:

    drivers/gpu/drm/amd/amdgpu/../display/dc/core/dc.c:3369 commit_planes_for_stream()
    warn: variable dereferenced before check 'stream' (see line 3114)

The 'stream' pointer cannot be NULL and the check can be removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
2022-07-18 16:42:39 -04:00
..
acp
amdgpu drm/amdgpu: Clarify asics naming in Kconfig options 2022-07-18 16:42:39 -04:00
amdkfd drm/amdkfd: correct the MEC atomic support firmware checking for GC 10.3.7 2022-07-13 11:25:16 -04:00
display drm/amd/display: Remove unnecessary NULL check in commit_planes_for_stream() 2022-07-18 16:42:39 -04:00
include drm/amdgpu: add umc v8_10_0 ip headers 2022-07-18 16:37:38 -04:00
pm drm/amdgpu: Call trace info was found in dmesg when loading amdgpu 2022-07-18 16:38:10 -04:00