diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2018-01-26 10:13:42 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-02-19 14:19:00 -0500 |
commit | 07d48da4f45c1990562f0cc4869194013308fb70 (patch) | |
tree | 785f8fbc6f03127f0a8272ee9b4a4def4e480b62 /drivers/char/hw_random/nomadik-rng.c | |
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>
Diffstat (limited to 'drivers/char/hw_random/nomadik-rng.c')
0 files changed, 0 insertions, 0 deletions