提交 edeb8e4c 编写于 作者: F Fabio Estevam 提交者: Christoph Hellwig

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

Commit 2436bdcd ("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: NFabio Estevam <fabio.estevam@nxp.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 34bbf133
...@@ -475,7 +475,7 @@ static phys_addr_t mx3_camera_base __initdata; ...@@ -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();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册