Skip to content

Commit fa82a56

Browse files
Nicolas Ferrealexandrebelloni
authored andcommitted
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 <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 6fcc2b7 commit fa82a56

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

drivers/spi/spi-atmel.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -268,10 +268,6 @@
268268
struct atmel_spi_dma {
269269
struct dma_chan *chan_rx;
270270
struct dma_chan *chan_tx;
271-
struct dma_async_tx_descriptor *data_desc_rx;
272-
struct dma_async_tx_descriptor *data_desc_tx;
273-
274-
struct at_dma_slave dma_slave;
275271
};
276272

277273
struct atmel_spi_caps {

0 commit comments

Comments
 (0)