drm/ttm: tt destroy move null check to outer function.
authorDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 01:04:08 +0000 (11:04 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 15 Sep 2020 23:34:33 +0000 (09:34 +1000)
commit395a73f8ba6f00f0e188ac6daa43659520d75498
tree7142c71980929f5ea729fe9293e28d3e88ba526d
parent2ff6e69c0449846197c52d7c591b983e23e3e3c9
drm/ttm: tt destroy move null check to outer function.

This just makes things easier later.

Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200915024007.67163-4-airlied@gmail.com
drivers/gpu/drm/ttm/ttm_bo.c
drivers/gpu/drm/ttm/ttm_bo_util.c
drivers/gpu/drm/ttm/ttm_tt.c