The TTM refcount is about to be removed.

Signed-off-by: Christian König <[email protected]>
---
 drivers/gpu/drm/xe/xe_bo.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/xe/xe_bo.c b/drivers/gpu/drm/xe/xe_bo.c
index 7aa2c17825da..2a8e7cb8c982 100644
--- a/drivers/gpu/drm/xe/xe_bo.c
+++ b/drivers/gpu/drm/xe/xe_bo.c
@@ -1417,8 +1417,6 @@ static bool xe_ttm_bo_lock_in_destructor(struct 
ttm_buffer_object *ttm_bo)
        struct xe_device *xe = ttm_to_xe_device(ttm_bo->bdev);
        bool locked;
 
-       xe_assert(xe, !kref_read(&ttm_bo->kref));
-
        /*
         * We can typically only race with TTM trylocking under the
         * lru_lock, which will immediately be unlocked again since
-- 
2.34.1

Reply via email to