diff options
author | 2018-01-26 10:13:42 -0500 | |
---|---|---|
committer | 2018-02-19 14:19:00 -0500 | |
commit | 07d48da4f45c1990562f0cc4869194013308fb70 (patch) | |
tree | 785f8fbc6f03127f0a8272ee9b4a4def4e480b62 /drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c | |
parent | drm/ttm: Remove unncessary retval from ttm_bo_vm_fault() (diff) | |
download | wireguard-linux-07d48da4f45c1990562f0cc4869194013308fb70.tar.xz wireguard-linux-07d48da4f45c1990562f0cc4869194013308fb70.zip |
drm/ttm: Simplify ttm_eu_reserve_buffers()
Hoist the comparison of the ret to -EDEADLK above
the two code paths to simplify the function.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ids.c')
0 files changed, 0 insertions, 0 deletions