diff options
author | Fabio Estevam <fabio.estevam@nxp.com> | 2017-09-04 16:58:14 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-09-04 17:33:11 +0200 |
commit | edeb8e4ccb79eaed4a5126945cce00489f09b849 (patch) | |
tree | 6cae913a5dbbf1639fc559ccebab0bde9bb74aac /arch/arm/mach-imx | |
parent | dma-coherent: remove an unused variable (diff) | |
download | linux-edeb8e4ccb79eaed4a5126945cce00489f09b849.tar.xz linux-edeb8e4ccb79eaed4a5126945cce00489f09b849.zip |
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>
Diffstat (limited to 'arch/arm/mach-imx')
-rw-r--r-- | arch/arm/mach-imx/mach-mx31moboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/mach-mx31moboard.c b/arch/arm/mach-imx/mach-mx31moboard.c index 3cd030960c98..7716f83aecdd 100644 --- a/arch/arm/mach-imx/mach-mx31moboard.c +++ b/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) { - int dma, ret; + int ret; struct platform_device *pdev; imx31_add_ipu_core(); |