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

Stephen Rothwell
2017-09-03T22:34:24Z

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