dmaengine: pl330: remove set but unused variable
authorVinod Koul <vkoul@kernel.org>
Mon, 9 Jul 2018 14:38:48 +0000 (20:08 +0530)
committerVinod Koul <vkoul@kernel.org>
Tue, 10 Jul 2018 15:17:22 +0000 (20:47 +0530)
commit2f903bab92dea8dec8c93e4fa3c7c5295ef0a0fe
tree3c9f88c9a97fc319dac9169ce6c526d6f3863da8
parentbbcb87555869cb6c249bf00d13d3bc400c476c84
dmaengine: pl330: remove set but unused variable

Compiler complains (with W=1):
drivers/dma/pl330.c: In function ‘pl330_release_channel’:
drivers/dma/pl330.c:1782:21: warning:
variable ‘pl330’ set but not used [-Wunused-but-set-variable]
  struct pl330_dmac *pl330;
                     ^~~~~

Remove the pl330 variable in pl330_release_channel as it is set but
never used.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c