dmaengine: pl330: remove unused ‘regs’
authorVinod Koul <vinod.koul@intel.com>
Fri, 9 Dec 2016 09:54:12 +0000 (15:24 +0530)
committerVinod Koul <vinod.koul@intel.com>
Mon, 12 Dec 2016 16:55:22 +0000 (22:25 +0530)
commit920e00d62ef9a818a4af7b2f9e1dbca23f846fc1
tree210194c042cba02ea2b847e700ba7e8ffed1b4a8
parent963173fe4875d77320360628f827b0a818d6772e
dmaengine: pl330: remove unused ‘regs’

In pl330_add(), variable ‘regs’ is initialized but never used, which
leads to warning with W=1.

drivers/dma/pl330.c: In function 'pl330_add':
drivers/dma/pl330.c:1891:16: warning: variable 'regs' set but not used [-Wunused-but-set-variable]

So remove it.

Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/pl330.c