浏览代码

ARM: imx: mx31moboard: Remove unused 'dma' variable

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>
Fabio Estevam 8 年之前
父节点
当前提交
edeb8e4ccb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      arch/arm/mach-imx/mach-mx31moboard.c

+ 1 - 1
arch/arm/mach-imx/mach-mx31moboard.c

@@ -475,7 +475,7 @@ static phys_addr_t mx3_camera_base __initdata;
 
 
 static int __init mx31moboard_init_cam(void)
 static int __init mx31moboard_init_cam(void)
 {
 {
-	int dma, ret;
+	int ret;
 	struct platform_device *pdev;
 	struct platform_device *pdev;
 
 
 	imx31_add_ipu_core();
 	imx31_add_ipu_core();