Skip to content
Commit 35faaf0d authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: coh901318: Remove unused variable

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

 ("dmaengine: coh901318: Fix a double-lock bug")
Reported-By: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 627469e4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment