linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] soc: fsl: qbman: Remove unused struct cgr_comp
@ 2022-09-27 13:36 Yuan Can
  2022-09-27 15:48 ` Sean Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Yuan Can @ 2022-09-27 13:36 UTC (permalink / raw)
  To: leoyang.li, sean.anderson, davem, camelia.groza, linuxppc-dev; +Cc: yuancan

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@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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] soc: fsl: qbman: Remove unused struct cgr_comp
  2022-09-27 13:36 [PATCH] soc: fsl: qbman: Remove unused struct cgr_comp Yuan Can
@ 2022-09-27 15:48 ` Sean Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Anderson @ 2022-09-27 15:48 UTC (permalink / raw)
  To: Yuan Can, leoyang.li, davem, camelia.groza, linuxppc-dev



On 9/27/22 9:36 AM, Yuan Can wrote:
> [You don't often get email from yuancan@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@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@seco.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-09-28  0:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-27 13:36 [PATCH] soc: fsl: qbman: Remove unused struct cgr_comp Yuan Can
2022-09-27 15:48 ` Sean Anderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).