]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1c9fca3a7511ccf1c64ba6cdd344eb2ce52a5a41
treeeb47587ee4dba475f39c0f3f9a57122d988938cd
parenta745951eaa8b7c31a814b82493af460d4d480dde
dmaengine: coh901318: Remove unused variable

Commit a745951eaa8b ("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: a745951eaa8b ("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