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

From: Dr. David Alan Gilbert
Date: Sat Jun 08 2024 - 16:53:09 EST


* linux@xxxxxxxxxxx (linux@xxxxxxxxxxx) wrote:
> From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>
>
> '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@xxxxxxxxxxx>

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 |_______/