dmaengine: coh901318: Remove unused variable
authorVinod Koul <vkoul@kernel.org>
Mon, 26 Nov 2018 08:04:15 +0000 (13:34 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 26 Nov 2018 08:05:52 +0000 (13:35 +0530)
commit35faaf0df42d285b40f8a6310afbe096720f7758
treeeb47587ee4dba475f39c0f3f9a57122d988938cd
parent627469e4445b9b12e0229b3bdf8564d5ce384dd7
dmaengine: coh901318: Remove unused variable

Commit 627469e4445b ("dmaengine: coh901318: Fix a double-lock bug") left
flags variable unused, so remove it to fix the warning.

drivers/dma/coh901318.c: In function 'coh901318_config':
drivers/dma/coh901318.c:1805:16: warning: unused variable 'flags' [-Wunused-variable]
  unsigned long flags;
                ^~~~~

Fixes: 627469e4445b ("dmaengine: coh901318: Fix a double-lock bug")
Reported-By: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/coh901318.c