diff --git a/drivers/spi/spi-dw-mid.c b/drivers/spi/spi-dw-mid.c index f3c85f92ef12c876a0c350f901dfcd75d4eca871..8b7b94c5a9ccf89a42412ef840a198fd0dfbff32 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 */