2020-02-28 09:02:33

by Rayagonda Kokatanur

[permalink] [raw]
Subject: [PATCH v1 1/1] mailbox: bcm-pdc: Remove unused struct member "size"

Remove unused struct member 'size' in pdc_ring_init() function.

Signed-off-by: Rayagonda Kokatanur <[email protected]>
---
drivers/mailbox/bcm-pdc-mailbox.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mailbox/bcm-pdc-mailbox.c b/drivers/mailbox/bcm-pdc-mailbox.c
index fcb3b18a0678..3eac338c8f7d 100644
--- a/drivers/mailbox/bcm-pdc-mailbox.c
+++ b/drivers/mailbox/bcm-pdc-mailbox.c
@@ -253,7 +253,6 @@ struct pdc_regs {
struct pdc_ring_alloc {
dma_addr_t dmabase; /* DMA address of start of ring */
void *vbase; /* base kernel virtual address of ring */
- u32 size; /* ring allocation size in bytes */
};

/*
--
2.17.1