commit | c3af1258a7c784fba6863357b94e31a6824aaff9 | [log] [tgz] |
---|---|---|
author | Christian König <christian.koenig@amd.com> | Thu Nov 17 12:16:34 2016 +0100 |
committer | Alex Deucher <alexander.deucher@amd.com> | Wed Nov 23 15:08:44 2016 -0500 |
tree | d6b915dd1091d54beea1d102a2e670ed3393ac0d | |
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>