diff options
author | Christian König <christian.koenig@amd.com> | 2022-09-13 09:52:13 +0200 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-09-19 15:18:16 -0400 |
commit | 4953b6b22ab9d7f64706631a027b1ed1130ce4c8 (patch) | |
tree | 205310fe1695a3e30011f9396088da3516680fe1 /drivers/gpu/drm/amd/amdgpu/amdgpu_job.h | |
parent | f4b92fcd740d7c90eb7b011f22deab6192ffe44c (diff) |
drm/amdgpu: cleanup error handling in amdgpu_cs_parser_bos
Return early on success and so remove all those "if (r)" in the error
path.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_job.h')
0 files changed, 0 insertions, 0 deletions