@@ -225,7 +225,6 @@ static int dw_edma_pcie_probe(struct pci_dev *pdev,
/* Data structure initialization */
chip->dev = dev;
chip->id = pdev->devfn;
- chip->irq = pdev->irq;
chip->mf = vsec_data.mf;
chip->nr_irqs = nr_irqs;
@@ -37,7 +37,6 @@ enum dw_edma_map_format {
* struct dw_edma_chip - representation of DesignWare eDMA controller hardware
* @dev: struct device of the eDMA controller
* @id: instance ID
- * @irq: irq line
* @nr_irqs: total dma irq number
* @ops DMA channel to IRQ number mapping
* @wr_ch_cnt DMA write channel number
@@ -51,7 +50,6 @@ enum dw_edma_map_format {
struct dw_edma_chip {
struct device *dev;
int id;
- int irq;
int nr_irqs;
const struct dw_edma_core_ops *ops;
irq of struct dw_edma_chip was never used. It can be removed safely. Signed-off-by: Frank Li <Frank.Li@nxp.com> --- Change from v4 to v5 - none new patch at v4 drivers/dma/dw-edma/dw-edma-pcie.c | 1 - include/linux/dma/edma.h | 2 -- 2 files changed, 3 deletions(-)