diff options
author | Wambui Karuga <wambui@karuga.xyz> | 2019-10-19 10:32:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-10-28 11:19:00 -0400 |
commit | 847a75fb9e13fe6749bea25315310cdd3431d30c (patch) | |
tree | fa825dacb8d51b835d2ac5f85c99661e4ac4a413 /drivers/gpu/drm/amd/powerplay | |
parent | 039ffeaae307d61318742e0b2f79742e08ea6b8b (diff) |
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>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay')
0 files changed, 0 insertions, 0 deletions