linux-next: build warning after merge of the dma-mapping tree

From: Stephen Rothwell
Date: Sun Sep 03 2017 - 18:34:38 EST


Hi Christoph,

After merging the dma-mapping tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/base/dma-coherent.c: In function '__dma_alloc_from_coherent':
drivers/base/dma-coherent.c:160:6: warning: unused variable 'dma_memory_map' [-Wunused-variable]
int dma_memory_map;
^

Introduced by commit

2436bdcda53f ("dma-coherent: remove the DMA_MEMORY_MAP and DMA_MEMORY_IO flags")

--
Cheers,
Stephen Rothwell