diff options
| author | Dan Carpenter <[email protected]> | 2022-07-13 11:33:37 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2022-07-18 20:42:39 +0000 |
| commit | 2d04559e0660cf503d4e46cfbd7421d0b6156aa1 (patch) | |
| tree | 96cd9efa0d4339d8c35a20f42772da3403493dce /drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | |
| parent | drm/amdgpu: Clarify asics naming in Kconfig options (diff) | |
| download | kernel-2d04559e0660cf503d4e46cfbd7421d0b6156aa1.tar.gz kernel-2d04559e0660cf503d4e46cfbd7421d0b6156aa1.zip | |
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 <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c')
0 files changed, 0 insertions, 0 deletions
