[PATCH] mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'

linux@treblig.org posted 1 patch 1 year, 8 months ago
drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
1 file changed, 4 deletions(-)
[PATCH] mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'
Posted by linux@treblig.org 1 year, 8 months ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'pdf_dma_map' has been unused since the original
commit a24532f8d17b ("mailbox: Add Broadcom PDC mailbox driver").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c
index 242e7504a628..a873672a9082 100644
--- a/drivers/mailbox/bcm-pdc-mailbox.c
+++ b/drivers/mailbox/bcm-pdc-mailbox.c
@@ -158,10 +158,6 @@ enum pdc_hw {
 	PDC_HW		/* PDC/MDE hardware (i.e. Northstar 2, Pegasus) */
 };
 
-struct pdc_dma_map {
-	void *ctx;          /* opaque context associated with frame */
-};
-
 /* dma descriptor */
 struct dma64dd {
 	u32 ctrl1;      /* misc control bits */
-- 
2.45.1
Re: [PATCH] mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'
Posted by Dr. David Alan Gilbert 1 year, 8 months ago
* linux@treblig.org (linux@treblig.org) wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'pdf_dma_map' has been unused since the original
> commit a24532f8d17b ("mailbox: Add Broadcom PDC mailbox driver").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Ping

> ---
>  drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c
> index 242e7504a628..a873672a9082 100644
> --- a/drivers/mailbox/bcm-pdc-mailbox.c
> +++ b/drivers/mailbox/bcm-pdc-mailbox.c
> @@ -158,10 +158,6 @@ enum pdc_hw {
>  	PDC_HW		/* PDC/MDE hardware (i.e. Northstar 2, Pegasus) */
>  };
>  
> -struct pdc_dma_map {
> -	void *ctx;          /* opaque context associated with frame */
> -};
> -
>  /* dma descriptor */
>  struct dma64dd {
>  	u32 ctrl1;      /* misc control bits */
> -- 
> 2.45.1
> 
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/
Re: [PATCH] mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'
Posted by Dr. David Alan Gilbert 1 year, 7 months ago
* Dr. David Alan Gilbert (linux@treblig.org) wrote:
> * linux@treblig.org (linux@treblig.org) wrote:
> > From: "Dr. David Alan Gilbert" <linux@treblig.org>
> > 
> > 'pdf_dma_map' has been unused since the original
> > commit a24532f8d17b ("mailbox: Add Broadcom PDC mailbox driver").
> > 
> > Remove it.
> > 
> > Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> 
> Ping

Ping^2

> 
> > ---
> >  drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
> >  1 file changed, 4 deletions(-)
> > 
> > diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c
> > index 242e7504a628..a873672a9082 100644
> > --- a/drivers/mailbox/bcm-pdc-mailbox.c
> > +++ b/drivers/mailbox/bcm-pdc-mailbox.c
> > @@ -158,10 +158,6 @@ enum pdc_hw {
> >  	PDC_HW		/* PDC/MDE hardware (i.e. Northstar 2, Pegasus) */
> >  };
> >  
> > -struct pdc_dma_map {
> > -	void *ctx;          /* opaque context associated with frame */
> > -};
> > -
> >  /* dma descriptor */
> >  struct dma64dd {
> >  	u32 ctrl1;      /* misc control bits */
> > -- 
> > 2.45.1
> > 
> -- 
>  -----Open up your eyes, open up your mind, open up your code -------   
> / Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
> \        dave @ treblig.org |                               | In Hex /
>  \ _________________________|_____ http://www.treblig.org   |_______/
> 
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    |       Running GNU/Linux       | Happy  \ 
\        dave @ treblig.org |                               | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/