]> 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)
commite6c64a2e757e670790297b8f4674acb8af92df90
treec2c73b77505d8ac9b90dd612d044c5da3c591ab8
parent0a433c168604deb51da0e89f3a855bf5ebd05f44
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