dmaengine: dw-edma: Remove unused irq field in struct dw_edma_chip
authorFrank Li <Frank.Li@nxp.com>
Tue, 24 May 2022 15:21:52 +0000 (10:21 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 16 Jun 2022 16:31:05 +0000 (11:31 -0500)
The "irq" field of struct dw_edma_chip was never used. Remove it.

Link: https://lore.kernel.org/r/20220524152159.2370739-2-Frank.Li@nxp.com
Tested-by: Serge Semin <fancer.lancer@gmail.com>
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Serge Semin <fancer.lancer@gmail.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Acked-By: Vinod Koul <vkoul@kernel.org>
drivers/dma/dw-edma/dw-edma-pcie.c
include/linux/dma/edma.h

index cee7aa2..bc07923 100644 (file)
@@ -214,7 +214,6 @@ static int dw_edma_pcie_probe(struct pci_dev *pdev,
        chip->dw = dw;
        chip->dev = dev;
        chip->id = pdev->devfn;
-       chip->irq = pdev->irq;
 
        dw->mf = vsec_data.mf;
        dw->nr_irqs = nr_irqs;
index cab6e18..d4333e7 100644 (file)
@@ -18,13 +18,11 @@ struct dw_edma;
  * struct dw_edma_chip - representation of DesignWare eDMA controller hardware
  * @dev:                struct device of the eDMA controller
  * @id:                         instance ID
- * @irq:                irq line
  * @dw:                         struct dw_edma that is filed by dw_edma_probe()
  */
 struct dw_edma_chip {
        struct device           *dev;
        int                     id;
-       int                     irq;
        struct dw_edma          *dw;
 };