Skip to contentSkip to conversation

mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'

PATCH In review [email protected] 1 participant 3 messages May 23, 2024 – Jul 5, 2024 Mailbox API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mailbox: bcm-pdc: remove unused struct 'pdc_dma_map'

From: "Dr. David Alan Gilbert" <[email protected]>

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

Remove it.

---
 drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/mailbox/bcm-pdc-mailbox.c +0 -4
index 242e7504a628..a873672a9082 100644
@@ -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 */
Signature · 1 line
2.45.1
#1 lore raw
Quoted 8 lines · * [email protected] ([email protected]) wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

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

Remove it.

Ping

Quoted 22 lines
---
 drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/mailbox/bcm-pdc-mailbox.c +0 -4
index 242e7504a628..a873672a9082 100644
@@ -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 */
Signature · 1 line
2.45.1
Signature · 4 lines
 -----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   |_______/
#2 lore raw
Quoted 11 lines · * Dr. David Alan Gilbert ([email protected]) wrote:
Quoted 8 lines · * [email protected] ([email protected]) wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

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

Remove it.

Ping

Ping^2

Quoted 29 lines
Quoted 23 lines
---
 drivers/mailbox/bcm-pdc-mailbox.c | 4 ----
 1 file changed, 4 deletions(-)
drivers/mailbox/bcm-pdc-mailbox.c +0 -4
index 242e7504a628..a873672a9082 100644
@@ -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 */
Signature · 1 line
2.45.1
Signature · 4 lines
 -----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   |_______/
Signature · 4 lines
 -----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   |_______/