diff options
author | Andy Shevchenko <[email protected]> | 2020-05-07 14:54:48 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2020-05-07 13:42:59 +0100 |
commit | 140e45e1e62dd56ed4c264db1443a5d4f5f40352 (patch) | |
tree | 960e0cfb48889427216c7e82c1bcb6eb82776612 | |
parent | 22d48ad7bfacda05900c3f7b43510fc4d40d5d53 (diff) |
spi: dw: Avoid useless assignments in generic DMA setup
Generic DMA setup doesn't rely on certain type of DMA controller and thus
shouldn't use Intel Medfield settings, although it's harmless in this case.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
-rw-r--r-- | drivers/spi/spi-dw-mid.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/spi/spi-dw-mid.c b/drivers/spi/spi-dw-mid.c index f3c85f92ef12..8b7b94c5a9cc 100644 --- a/drivers/spi/spi-dw-mid.c +++ b/drivers/spi/spi-dw-mid.c @@ -321,8 +321,6 @@ static const struct dw_spi_dma_ops generic_dma_ops = { static void dw_spi_mid_setup_dma_generic(struct dw_spi *dws) { - dws->dma_tx = &mid_dma_tx; - dws->dma_rx = &mid_dma_rx; dws->dma_ops = &generic_dma_ops; } #else /* CONFIG_SPI_DW_MID_DMA */ |