[PATCH 05/33] dmaengine: at_hdmac: Remove unused member of at_dma_chan
From: Tudor Ambarus
Date: Sat Aug 20 2022 - 08:58:06 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 91c6eafd96d8..085a990f8d5d 100644
--- a/drivers/dma/at_hdmac.c
+++ b/drivers/dma/at_hdmac.c
@@ -247,7 +247,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
@@ -267,7 +266,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