drm/ttm: drop extra ttm_bo_put in ttm_bo_cleanup_refs
[linux-2.6-microblaze.git] / drivers / gpu / drm / ttm / ttm_bo.c
index 326a3d1..c286c6f 100644 (file)
@@ -295,8 +295,6 @@ static int ttm_bo_cleanup_refs(struct ttm_buffer_object *bo,
        if (unlock_resv)
                dma_resv_unlock(bo->base.resv);
 
-       ttm_bo_put(bo);
-
        return 0;
 }