drm/ttm: Remove two unused function declarations
authorYue Haibing <yuehaibing@huawei.com>
Wed, 9 Aug 2023 13:58:39 +0000 (21:58 +0800)
committerChristian König <christian.koenig@amd.com>
Thu, 10 Aug 2023 07:12:08 +0000 (09:12 +0200)
Commit cd3a8a596214 ("drm/ttm: remove ttm_bo_(un)lock_delayed_workqueue")
removed the implementations but not the declarations.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230809135839.13216-1-yuehaibing@huawei.com
Signed-off-by: Christian König <christian.koenig@amd.com>
include/drm/ttm/ttm_bo.h

index 8b113c3842364a5d52edcb6373b87a5b3d5368a8..0223a41a64b2427186243b778d1b45d9e9b8ea43 100644 (file)
@@ -355,8 +355,6 @@ int ttm_bo_validate(struct ttm_buffer_object *bo,
 void ttm_bo_put(struct ttm_buffer_object *bo);
 void ttm_bo_set_bulk_move(struct ttm_buffer_object *bo,
                          struct ttm_lru_bulk_move *bulk);
-int ttm_bo_lock_delayed_workqueue(struct ttm_device *bdev);
-void ttm_bo_unlock_delayed_workqueue(struct ttm_device *bdev, int resched);
 bool ttm_bo_eviction_valuable(struct ttm_buffer_object *bo,
                              const struct ttm_place *place);
 int ttm_bo_init_reserved(struct ttm_device *bdev, struct ttm_buffer_object *bo,