diff options
author | Christian König <christian.koenig@amd.com> | 2016-11-17 12:16:34 +0100 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-11-23 15:08:44 -0500 |
commit | c3af1258a7c784fba6863357b94e31a6824aaff9 (patch) | |
tree | d6b915dd1091d54beea1d102a2e670ed3393ac0d /drivers/gpu/drm/amd/amdgpu/amdgpu_uvd.c | |
parent | f29224a6197dc71a7f3c557f41ae56c58192c345 (diff) |
drm/amdgpu: fix error handling in amdgpu_bo_create_restricted
Manually checking why a function could fail is not a good idea
if you can just check the functions return code.
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_uvd.c')
0 files changed, 0 insertions, 0 deletions