ARM: imx: mx31moboard: Remove unused 'dma' variable
authorFabio Estevam <fabio.estevam@nxp.com>
Mon, 4 Sep 2017 14:58:14 +0000 (11:58 -0300)
committerChristoph Hellwig <hch@lst.de>
Mon, 4 Sep 2017 15:33:11 +0000 (17:33 +0200)
Commit 2436bdcda53f ("dma-coherent: remove the DMA_MEMORY_MAP and
DMA_MEMORY_IO flags") missed to remove the 'dma' variable causing
the following build warning:

arch/arm/mach-imx/mach-mx31moboard.c:478:6: warning: unused variable 'dma' [-Wunused-variable]

Remove the unused 'dma' variable.

Signed-off-by: Fabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
arch/arm/mach-imx/mach-mx31moboard.c

index 3cd030960c9810d9ac3a1d179ec47f8002fcf85f..7716f83aecdda1d5f6a35677d40d9446b5d8a0cf 100644 (file)
@@ -475,7 +475,7 @@ static phys_addr_t mx3_camera_base __initdata;
 
 static int __init mx31moboard_init_cam(void)
 {
-       int dma, ret;
+       int ret;
        struct platform_device *pdev;
 
        imx31_add_ipu_core();