[PATCH] drm/hisilicon: Remove unused delarations

Thomas Zimmermann tzimmermann at suse.de
Tue Aug 13 14:19:38 UTC 2024



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 at huawei.com>

Reviewed-by: Thomas Zimmermann <tzimmermann at 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

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)



More information about the dri-devel mailing list