提交 34bbf133 编写于 作者: C Christoph Hellwig

dma-coherent: remove an unused variable

Signed-off-by: NChristoph Hellwig <hch@lst.de>
Reported-by: NStephen Rothwell <sfr@canb.auug.org.au>
上级 4a75682c
...@@ -157,7 +157,6 @@ static void *__dma_alloc_from_coherent(struct dma_coherent_mem *mem, ...@@ -157,7 +157,6 @@ static void *__dma_alloc_from_coherent(struct dma_coherent_mem *mem,
int order = get_order(size); int order = get_order(size);
unsigned long flags; unsigned long flags;
int pageno; int pageno;
int dma_memory_map;
void *ret; void *ret;
spin_lock_irqsave(&mem->spinlock, flags); spin_lock_irqsave(&mem->spinlock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册