diff options
| author | Jason Yan <[email protected]> | 2020-09-10 14:06:10 +0000 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2020-09-11 08:54:17 +0000 |
| commit | 268d0a92600e50820916a5aeda0242a7153a2fd7 (patch) | |
| tree | 1c6722b818da8442ce53f55748d91ef87df0367b /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | drm/xlnx: Use devm_drm_dev_alloc (diff) | |
| download | kernel-268d0a92600e50820916a5aeda0242a7153a2fd7.tar.gz kernel-268d0a92600e50820916a5aeda0242a7153a2fd7.zip | |
drm/i810: make i810_flush_queue() return void
This function always return '0' and no callers use the return value. So
make it a void function.
This eliminates the following coccicheck warning:
drivers/gpu/drm/i810/i810_dma.c:860:8-11: Unneeded variable: "ret".
Return "0" on line 885
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Jason Yan <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
