diff mbox series

drm/hisilicon: Remove unused delarations

Message ID 20240812123543.64300-1-zhangzekun11@huawei.com (mailing list archive)
State New, archived
Headers show
Series drm/hisilicon: Remove unused delarations | expand

Commit Message

zhangzekun (A) Aug. 12, 2024, 12:35 p.m. UTC
hibmc_mm_init() has been removed since commit 28645ae064d1
("drm/hisilicon/hibmc: Remove hibmc_ttm.c"), but remain the declaration
untouched in the header files. So, let's remove this unused declaration.

Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>
---
 drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 1 -
 1 file changed, 1 deletion(-)

Comments

Thomas Zimmermann Aug. 13, 2024, 2:19 p.m. UTC | #1
Am 12.08.24 um 14:35 schrieb Zhang Zekun:
> hibmc_mm_init() has been removed since commit 28645ae064d1
> ("drm/hisilicon/hibmc: Remove hibmc_ttm.c"), but remain the declaration
> untouched in the header files. So, let's remove this unused declaration.
>
> Signed-off-by: Zhang Zekun <zhangzekun11@huawei.com>

Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>

> ---
>   drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
> index 207aa3f660b0..6b566f3aeecb 100644
> --- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
> +++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
> @@ -57,7 +57,6 @@ void hibmc_set_current_gate(struct hibmc_drm_private *priv,
>   int hibmc_de_init(struct hibmc_drm_private *priv);
>   int hibmc_vdac_init(struct hibmc_drm_private *priv);
>   
> -int hibmc_mm_init(struct hibmc_drm_private *hibmc);
>   int hibmc_ddc_create(struct drm_device *drm_dev, struct hibmc_connector *connector);
>   
>   #endif
diff mbox series

Patch

diff --git a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
index 207aa3f660b0..6b566f3aeecb 100644
--- a/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
+++ b/drivers/gpu/drm/hisilicon/hibmc/hibmc_drm_drv.h
@@ -57,7 +57,6 @@  void hibmc_set_current_gate(struct hibmc_drm_private *priv,
 int hibmc_de_init(struct hibmc_drm_private *priv);
 int hibmc_vdac_init(struct hibmc_drm_private *priv);
 
-int hibmc_mm_init(struct hibmc_drm_private *hibmc);
 int hibmc_ddc_create(struct drm_device *drm_dev, struct hibmc_connector *connector);
 
 #endif