Skip to content

Commit edeb8e4

Browse files
Fabio EstevamChristoph Hellwig
authored andcommitted
ARM: imx: mx31moboard: Remove unused 'dma' variable
Commit 2436bdc ("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]> Signed-off-by: Christoph Hellwig <[email protected]>
1 parent 34bbf13 commit edeb8e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ static phys_addr_t mx3_camera_base __initdata;
475475

476476
static int __init mx31moboard_init_cam(void)
477477
{
478-
int dma, ret;
478+
int ret;
479479
struct platform_device *pdev;
480480

481481
imx31_add_ipu_core();

0 commit comments

Comments
 (0)