drm/amdgpu/powerplay: remove redundant assignment to variable baco_state
authorColin Ian King <colin.king@canonical.com>
Thu, 22 Aug 2019 13:09:48 +0000 (14:09 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 22 Aug 2019 22:25:21 +0000 (17:25 -0500)
commita13362c1c96d1450d59180631233844cb94a7907
tree6d3ca6b52b9247edd3574ec0b32910e6a8ba14da
parent7fd5a6fb9a75cc00479a7ad4305b5ab31ae2cd59
drm/amdgpu/powerplay: remove redundant assignment to variable baco_state

Variable baco_state is initialized to a value that is never read and it is
re-assigned later. The initialization is redundant and can be removed.

Addresses-Coverity: ("Unused Value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_v11_0.c