summaryrefslogtreecommitdiff
path: root/drivers/base
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2017-09-04 08:29:48 +0200
committerChristoph Hellwig <hch@lst.de>2017-09-04 08:29:48 +0200
commit34bbf1335fac345eb69a13d143d2dcad368c7b56 (patch)
treec8e3e77e91b04b7b9aad868cc865f35da542f80d /drivers/base
parent4a75682ce3bcd57d146db25b888e71f659ba4998 (diff)
dma-coherent: remove an unused variable
Signed-off-by: Christoph Hellwig <hch@lst.de> Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/dma-coherent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/dma-coherent.c b/drivers/base/dma-coherent.c
index b275eeb739f1..f82a504583d4 100644
--- a/drivers/base/dma-coherent.c
+++ b/drivers/base/dma-coherent.c
@@ -157,7 +157,6 @@ static void *__dma_alloc_from_coherent(struct dma_coherent_mem *mem,
int order = get_order(size);
unsigned long flags;
int pageno;
- int dma_memory_map;
void *ret;
spin_lock_irqsave(&mem->spinlock, flags);