浏览代码

dma-coherent: remove an unused variable

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Christoph Hellwig 8 年之前
父节点
当前提交
34bbf1335f
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      drivers/base/dma-coherent.c

+ 0 - 1
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);