[PATCH -next] drm/ttm: Remove two unused function declarations

Yue Haibing posted 1 patch 2 years, 6 months ago
include/drm/ttm/ttm_bo.h | 2 --
1 file changed, 2 deletions(-)
[PATCH -next] drm/ttm: Remove two unused function declarations
Posted by Yue Haibing 2 years, 6 months ago
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>
---
 include/drm/ttm/ttm_bo.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/drm/ttm/ttm_bo.h b/include/drm/ttm/ttm_bo.h
index 8b113c384236..0223a41a64b2 100644
--- a/include/drm/ttm/ttm_bo.h
+++ b/include/drm/ttm/ttm_bo.h
@@ -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,
-- 
2.34.1
Re: [PATCH -next] drm/ttm: Remove two unused function declarations
Posted by Christian König 2 years, 6 months ago
Am 09.08.23 um 15:58 schrieb Yue Haibing:
> 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 and pushed to drm-misc-next.

Thanks,
Christian.

> ---
>   include/drm/ttm/ttm_bo.h | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/include/drm/ttm/ttm_bo.h b/include/drm/ttm/ttm_bo.h
> index 8b113c384236..0223a41a64b2 100644
> --- a/include/drm/ttm/ttm_bo.h
> +++ b/include/drm/ttm/ttm_bo.h
> @@ -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,