spi: spi-pxa2xx: Remove unused legacy PXA DMA API channel numbers
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Mon, 3 Aug 2015 10:41:11 +0000 (13:41 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 3 Aug 2015 16:13:51 +0000 (17:13 +0100)
These became unused by the commit 6356437e65c2
("spi: spi-pxa2xx: remove legacy PXA DMA bits").

Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-pxa2xx.c
drivers/spi/spi-pxa2xx.h

index 2c9fa409d2bf966f5de8317aa53d1c8b70caad24..e924710e126c0901f1f120d1d2257561f7128332 100644 (file)
@@ -1475,8 +1475,6 @@ static int pxa2xx_spi_probe(struct platform_device *pdev)
        }
 
        /* Setup DMA if requested */
-       drv_data->tx_channel = -1;
-       drv_data->rx_channel = -1;
        if (platform_info->enable_dma) {
                status = pxa2xx_spi_dma_setup(drv_data);
                if (status) {
index 9f01e9c9aa753c913d791f9930c4d2649ed7ccdc..3b69c46bfbc9989399a27f13932747bebfb77c51 100644 (file)
@@ -37,8 +37,6 @@ struct driver_data {
        struct pxa2xx_spi_master *master_info;
 
        /* PXA private DMA setup stuff */
-       int rx_channel;
-       int tx_channel;
        u32 *null_dma_buf;
 
        /* SSP register addresses */