drm/radeon: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Fri, 22 Nov 2019 23:15:04 +0000 (23:15 +0000)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Nov 2019 14:48:57 +0000 (09:48 -0500)
commit9cb98bb73ef0f01ce9bd52172edf8650374d7c39
treead383059f6470574d76e45c2910fc5de465fa3d2
parenta63141e31764f8daf3f29e8e2d450dcf9199d1c8
drm/radeon: remove redundant assignment to variable ret

The variable ret is being initialized with a value that is never
read and it is being updated later with a new value. 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/radeon/si_dpm.c