drm/ttm: remove NULL checks when calling ttm_tt_destroy
authorChristian König <christian.koenig@amd.com>
Mon, 6 Jun 2016 08:17:51 +0000 (10:17 +0200)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2016 18:54:33 +0000 (14:54 -0400)
commit4279cb1423d96e53b6b98ae9f2b41003b013a31f
tree2d89f2e0e76f5516664828589dc0ab03baf29db8
parent089f16c55baacd5e8ae3745625efa82899b4b217
drm/ttm: remove NULL checks when calling ttm_tt_destroy

The function is a no-op with a NULL pointer.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_tt.c