[PATCH] soc: fsl: qbman: Remove unused struct cgr_comp

Sean Anderson sean.anderson at seco.com
Wed Sep 28 01:48:48 AEST 2022



On 9/27/22 9:36 AM, Yuan Can wrote:
> [You don't often get email from yuancan at huawei.com. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> After commit 96f413f47677("soc/fsl/qbman: fix issue in qman_delete_cgr_safe()"),
> no one use struct cgr_comp, so remove it.
> 
> Signed-off-by: Yuan Can <yuancan at huawei.com>
> ---
>  drivers/soc/fsl/qbman/qman.c | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/drivers/soc/fsl/qbman/qman.c b/drivers/soc/fsl/qbman/qman.c
> index 739e4eee6b75..4cebfe7f663b 100644
> --- a/drivers/soc/fsl/qbman/qman.c
> +++ b/drivers/soc/fsl/qbman/qman.c
> @@ -2543,11 +2543,6 @@ int qman_delete_cgr(struct qman_cgr *cgr)
>  }
>  EXPORT_SYMBOL(qman_delete_cgr);
> 
> -struct cgr_comp {
> -       struct qman_cgr *cgr;
> -       struct completion completion;
> -};
> -
>  static void qman_delete_cgr_smp_call(void *p)
>  {
>         qman_delete_cgr((struct qman_cgr *)p);
> --
> 2.17.1
> 

Reviewed-by: Sean Anderson <sean.anderson at seco.com>


More information about the Linuxppc-dev mailing list