Skip to content

Commit

Permalink
ARM: imx: mx31moboard: Remove unused 'dma' variable
Browse files Browse the repository at this point in the history
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 <fabio.estevam@nxp.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
  • Loading branch information
Fabio Estevam authored and Christoph Hellwig committed Sep 4, 2017
1 parent 34bbf13 commit edeb8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/arm/mach-imx/mach-mx31moboard.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit edeb8e4

Please sign in to comment.