]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
drm/amd/display: clean up assignment of amdgpu_crtc
authorColin Ian King <colin.king@canonical.com>
Wed, 2 May 2018 14:43:16 +0000 (15:43 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 15 May 2018 18:44:21 +0000 (13:44 -0500)
commitf4c2cc43218150da670f526aba1eeb3bcec9e3d2
tree957973c0e1be30468fef4023cff450298a961e9f
parent3d3c4f1b4d37412b2e3f1dd5e95293e61efa83df
drm/amd/display: clean up assignment of amdgpu_crtc

The declaration of pointer amdgpu_crtc has a redundant assignment to
amdgpu_crtc. Clean this up by removing it.

Detected by CoverityScan, CID#1460299 ("Evaluation order violation")

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c