diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2022-07-13 14:33:37 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-18 16:42:39 -0400 |
commit | 2d04559e0660cf503d4e46cfbd7421d0b6156aa1 (patch) | |
tree | 96cd9efa0d4339d8c35a20f42772da3403493dce /drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c | |
parent | 133dc89c640f965c2736e70d8dec0699d763850d (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c')
0 files changed, 0 insertions, 0 deletions