ttm: Don't set the ghost object to NULL.

Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
This commit is contained in:
Thomas Hellstrom 2009-04-28 21:03:59 +02:00
parent 24e42a3bd1
commit 934dcdd363

View file

@ -537,7 +537,7 @@ int ttm_bo_move_accel_cleanup(struct ttm_buffer_object *bo,
if (!(man->flags & TTM_MEMTYPE_FLAG_FIXED))
ghost_obj->ttm = NULL;
else
ghost_obj = NULL;
bo->ttm = NULL;
bo->priv_flags |= TTM_BO_PRIV_FLAG_MOVING;
ttm_bo_unreserve(ghost_obj);