From: Christoph Hellwig Date: Mon, 4 Sep 2017 06:29:48 +0000 (+0200) Subject: dma-coherent: remove an unused variable X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=34bbf1335fac345eb69a13d143d2dcad368c7b56;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git dma-coherent: remove an unused variable Signed-off-by: Christoph Hellwig Reported-by: Stephen Rothwell --- 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);