Skip to content

Commit

Permalink
spi: atmel: trivial: remove unused fields in DMA structure
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Ferre authored and Mark Brown committed Nov 25, 2016
1 parent 04242ca commit d5fab59
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/spi/spi-atmel.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d5fab59

Please sign in to comment.