ARM: imx: mx31moboard: Remove unused 'dma' variable
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/1 ARM: imx: mx31moboard: Remove unused 'dma' variable
From: Fabio Estevam <[email protected]>
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 <[email protected]>
---
This applies against linux-next 20170904.
arch/arm/mach-imx/mach-mx31moboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/arm/mach-imx/mach-mx31moboard.c +1 -1
@@ -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 ();
Signature · 1 line
2.7.4
Christoph Hellwig
AppliedPATCH 1/1 ARM: imx: mx31moboard: Remove unused 'dma' variable
Thanks Fabio,
applied to the dma-mapping tree.