Skip to content

Commit

Permalink
dma-coherent: remove an unused variable
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
  • Loading branch information
Christoph Hellwig committed Sep 4, 2017
1 parent 4a75682 commit 34bbf13
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/base/dma-coherent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 34bbf13

Please sign in to comment.