commit | 07d48da4f45c1990562f0cc4869194013308fb70 | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Fri Jan 26 10:13:42 2018 -0500 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Feb 19 14:19:00 2018 -0500 |
tree | 785f8fbc6f03127f0a8272ee9b4a4def4e480b62 | |
parent | de8dfb8e3449c704e2c67680b9226a058e6dc663 [diff] |
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>