diff mbox series

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

Message ID 20230809135839.13216-1-yuehaibing@huawei.com (mailing list archive)
State New, archived
Headers show
Series [-next] drm/ttm: Remove two unused function declarations | expand

Commit Message

Yue Haibing Aug. 9, 2023, 1:58 p.m. UTC
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(-)

Comments

Christian König Aug. 10, 2023, 7:15 a.m. UTC | #1
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,
diff mbox series

Patch

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,