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)
commitadd3d95d7359e0df748baa1da57727cf334b384a
treec2c73b77505d8ac9b90dd612d044c5da3c591ab8
parentc68edaa0c1ed0cfc33229a0a72c9aa76f8f80da2
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