]> git.baikalelectronics.ru Git - kernel.git/commit
drm/ttm: Simplify ttm_dma_find_pool() (v2)
authorTom St Denis <tom.stdenis@amd.com>
Thu, 25 Jan 2018 18:52:30 +0000 (13:52 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 19 Feb 2018 19:18:58 +0000 (14:18 -0500)
commitfe045fcfbcd86f22bf21ce2d97ee595565df319b
treec2c73b77505d8ac9b90dd612d044c5da3c591ab8
parent4503d9ef6c2b50281056c2ac8acf2502305551a2
drm/ttm: Simplify ttm_dma_find_pool() (v2)

Flip the logic of the comparison and remove
the redudant variable for the pool address.

(v2): Remove {} bracing.

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_page_alloc_dma.c