]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9dea60779595f0735757ea5b7e077ee8dafec610
tree7a3f0f790723bf45da0257d9f85ec05e0b667624
parent9d209e330d91f7ddffac273f1b0ee91cc48bacb1
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