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

From: Stephen Rothwell <[email-masked]>
Date: Mon, 4 Sep 2017 08:34:20 +1000

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