]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00219360 SDMA: clean build warning
authorChen Liangjun <b36089@freescale.com>
Fri, 3 Aug 2012 08:08:07 +0000 (16:08 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:09 +0000 (08:35 +0200)
Clean build warning:
drivers/dma/imx-sdma.c: In function 'sdma_config_channel':
drivers/dma/imx-sdma.c:763: warning: unused variable 'data'

Signed-off-by: Chen Liangjun <b36089@freescale.com>
drivers/dma/imx-sdma.c

index d4caaa4ad966d587aada89529238e83b597d3ac4..e9464985b8d13dc49c67c0a4ed1ff5d51196b220 100644 (file)
@@ -760,7 +760,6 @@ static int sdma_set_chan_private_data(struct sdma_channel *sdmac)
 static int sdma_config_channel(struct sdma_channel *sdmac)
 {
        int ret;
-       struct imx_dma_data *data = sdmac->chan.private;
 
        sdma_disable_channel(sdmac);