drm/radeon: remove assignment for return value
authorWambui Karuga <wambui@karuga.xyz>
Sat, 19 Oct 2019 07:32:42 +0000 (10:32 +0300)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Oct 2019 15:19:00 +0000 (11:19 -0400)
commit847a75fb9e13fe6749bea25315310cdd3431d30c
treefa825dacb8d51b835d2ac5f85c99661e4ac4a413
parent039ffeaae307d61318742e0b2f79742e08ea6b8b
drm/radeon: remove assignment for return value

Remove unnecessary assignment for return value and have the
function return the required value directly.
Issue found by coccinelle:
@@
local idexpression ret;
expression e;
@@

-ret =
+return
     e;
-return ret;

Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Wambui Karuga <wambui@karuga.xyz>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/cik.c