From: Nicolas Ferre Date: Thu, 24 Nov 2016 11:25:00 +0000 (+0100) Subject: spi: atmel: trivial: remove unused fields in DMA structure X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d5fab59cab18;p=linux.git spi: atmel: trivial: remove unused fields in DMA structure The atmel_spi_dma structure was cluttered with unused fields relative to older DMA channel selection API. Remove them. Signed-off-by: Nicolas Ferre Signed-off-by: Mark Brown --- diff --git a/drivers/spi/spi-atmel.c b/drivers/spi/spi-atmel.c index 7e03e221d307f..1a21bc6f7d7a8 100644 --- a/drivers/spi/spi-atmel.c +++ b/drivers/spi/spi-atmel.c @@ -268,10 +268,6 @@ struct atmel_spi_dma { struct dma_chan *chan_rx; struct dma_chan *chan_tx; - struct dma_async_tx_descriptor *data_desc_rx; - struct dma_async_tx_descriptor *data_desc_tx; - - struct at_dma_slave dma_slave; }; struct atmel_spi_caps {