diff options
author | Christoph Hellwig <hch@lst.de> | 2017-09-04 08:29:48 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-09-04 08:29:48 +0200 |
commit | 34bbf1335fac345eb69a13d143d2dcad368c7b56 (patch) | |
tree | c8e3e77e91b04b7b9aad868cc865f35da542f80d /drivers/base | |
parent | MAINTAINERS: use the iommu list for the dma-mapping subsystem (diff) | |
download | linux-34bbf1335fac345eb69a13d143d2dcad368c7b56.tar.xz linux-34bbf1335fac345eb69a13d143d2dcad368c7b56.zip |
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.c | 1 |
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); |