diff options
| author | Wambui Karuga <[email protected]> | 2019-10-19 07:32:42 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2019-10-28 15:19:00 +0000 |
| commit | 847a75fb9e13fe6749bea25315310cdd3431d30c (patch) | |
| tree | fa825dacb8d51b835d2ac5f85c99661e4ac4a413 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
| parent | dc.c:use kzalloc without test (diff) | |
| download | kernel-847a75fb9e13fe6749bea25315310cdd3431d30c.tar.gz kernel-847a75fb9e13fe6749bea25315310cdd3431d30c.zip | |
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 <[email protected]>
Signed-off-by: Wambui Karuga <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions
