drm/ttm: Remove unncessary retval from ttm_bo_vm_fault()
authorTom St Denis <tom.stdenis@amd.com>
Fri, 26 Jan 2018 14:22:05 +0000 (09:22 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:59 +0000 (14:18 -0500)
commitde8dfb8e3449c704e2c67680b9226a058e6dc663
tree7a3f0f790723bf45da0257d9f85ec05e0b667624
parent449f797a94f206e15a088adabb26c7cc42aa79b4
drm/ttm: Remove unncessary retval from ttm_bo_vm_fault()

The dual ret/retval was more complex than need be.  Now
we drop the retval variable and assign the appropriate VM
codes to ret instead.

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>
drivers/gpu/drm/ttm/ttm_bo_vm.c