aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
diff options
context:
space:
mode:
authorYi Yang <[email protected]>2022-12-16 10:23:18 +0000
committerAlex Deucher <[email protected]>2023-01-09 22:02:18 +0000
commitb95cb0d852014ded7d718953322f0ac6084dd661 (patch)
tree02e1aefaee1c9abd9c09f4fc5ec034b2367816fc /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c
parentdrm/amd/display: fix PSR-SU/DSC interoperability support (diff)
downloadkernel-b95cb0d852014ded7d718953322f0ac6084dd661.tar.gz
kernel-b95cb0d852014ded7d718953322f0ac6084dd661.zip
drm/amd/display: Remove redundant assignment to variable dc
Smatch report warning as follows: Line 53679: drivers/gpu/drm/amd/display/dc/core/dc_stream.c:402 dc_stream_set_cursor_position() warn: variable dereferenced before check 'stream' The value of 'dc' has been assigned after check whether 'stream' is NULL. Fix it by remove redundant assignment. Reviewed-by: Harry Wentland <[email protected]> Signed-off-by: Yi Yang <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions