Re: [PATCH v2] dmaengine: qcom: gpi: remove unused struct 'reg_info'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 16/05/2024 17:25, linux@xxxxxxxxxxx wrote:
From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>

Remove unused struct 'reg_info'

Signed-off-by: Dr. David Alan Gilbert <linux@xxxxxxxxxxx>
---
  drivers/dma/qcom/gpi.c | 6 ------
  1 file changed, 6 deletions(-)

diff --git a/drivers/dma/qcom/gpi.c b/drivers/dma/qcom/gpi.c
index 1c93864e0e4d..639ab304db9b 100644
--- a/drivers/dma/qcom/gpi.c
+++ b/drivers/dma/qcom/gpi.c
@@ -476,12 +476,6 @@ struct gpi_dev {
  	struct gpii *gpiis;
  };
-struct reg_info {
-	char *name;
-	u32 offset;
-	u32 val;
-};
-
  struct gchan {
  	struct virt_dma_chan vc;
  	u32 chid;

More detail in the commit log please - is the structure unused ? What is the provenance of it being added and becoming dead code.

More detail required here.

---
bod




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux