diff options
author | Colin Ian King <colin.king@canonical.com> | 2019-11-08 16:29:45 +0000 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-11-13 15:29:44 -0500 |
commit | b74361974bfa242b5010ec6b83c7e275c190a247 (patch) | |
tree | 3bdf61c4bc1a5c15cdc60a333ad4c5131264f1c3 /drivers/gpu/drm/drm_atomic.c | |
parent | d785476c608c621b345dd9396e8b21e90375cb0e (diff) | |
download | linux-stable-b74361974bfa242b5010ec6b83c7e275c190a247.tar.gz linux-stable-b74361974bfa242b5010ec6b83c7e275c190a247.tar.bz2 linux-stable-b74361974bfa242b5010ec6b83c7e275c190a247.zip |
drm/amd/display: remove redundant variable status
Variable status is redundant, it is being initialized with a value
that is over-written later and this is being returned immediately
after the assignment. Clean up the code by removing status and
just returning the value returned from the call to function
dc->hwss.dmdata_status_done.
Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_atomic.c')
0 files changed, 0 insertions, 0 deletions