[PATCH v2 31/32] dmaengine: at_hdmac: Remove unused member of at_dma_chan

From: Tudor Ambarus
Date: Tue Oct 25 2022 - 05:09:46 EST


The pointer to at_dma engine was never used, remove it.

Signed-off-by: Tudor Ambarus <tudor.ambarus@xxxxxxxxxxxxx>
---
drivers/dma/at_hdmac.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c
index e39b9b47234a..143d75c18d1e 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -253,7 +253,6 @@ enum atc_status {
/**
* struct at_dma_chan - internal representation of an Atmel HDMAC channel
* @dma_chan: common dmaengine channel object members
- * @device: parent device
* @ch_regs: memory mapped register base
* @mask: channel index in a mask
* @per_if: peripheral interface
@@ -273,7 +272,6 @@ enum atc_status {
*/
struct at_dma_chan {
struct dma_chan dma_chan;
- struct at_dma *device;
void __iomem *ch_regs;
u8 mask;
u8 per_if;
--
2.25.1