spi: dw: drop unused struct dw_spi field
authorBaruch Siach <baruch@tkos.co.il>
Thu, 26 Dec 2013 07:00:15 +0000 (09:00 +0200)
committerMark Brown <broonie@linaro.org>
Mon, 30 Dec 2013 13:18:09 +0000 (13:18 +0000)
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi-dw.c
drivers/spi/spi-dw.h

index b897c4adb39deda5f7e293d86216e74458ce912d..abf4fd5a2a25c59b38c1396428471b5d3b853771 100644 (file)
@@ -427,7 +427,6 @@ static void pump_transfers(unsigned long data)
        dws->tx_end = dws->tx + transfer->len;
        dws->rx = transfer->rx_buf;
        dws->rx_end = dws->rx + transfer->len;
-       dws->cs_change = transfer->cs_change;
        dws->len = dws->cur_transfer->len;
        if (chip != dws->prev_chip)
                cs_change = 1;
index 9c57c078031ead4ad4e2af02fb4b35c7b7d8b249..5a5cd02ddb13dea446f5c2674199ddb0b4cf3419 100644 (file)
@@ -135,7 +135,6 @@ struct dw_spi {
        u8                      n_bytes;        /* current is a 1/2 bytes op */
        u8                      max_bits_per_word;      /* maxim is 16b */
        u32                     dma_width;
-       int                     cs_change;
        irqreturn_t             (*transfer_handler)(struct dw_spi *dws);
        void                    (*cs_control)(u32 command);