dmaengine: fsl-dpaa2-qdma: remove set but not used variable 'dpaa2_qdma'
authorYueHaibing <yuehaibing@huawei.com>
Tue, 3 Mar 2020 13:13:47 +0000 (21:13 +0800)
committerVinod Koul <vkoul@kernel.org>
Fri, 6 Mar 2020 13:34:55 +0000 (19:04 +0530)
commit05fb806718408ae8c44bb1c42e40f555a94225a9
tree22a7f2589acc5f126f9eb67937436788ef1eecd3
parent13a892d4aa2499f22b0be7f25ecd484ed026cdb8
dmaengine: fsl-dpaa2-qdma: remove set but not used variable 'dpaa2_qdma'

drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c: In function dpaa2_qdma_shutdown:
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c:795:28: warning: variable dpaa2_qdma set but not used [-Wunused-but-set-variable]

commit 3e0ca3c38dc2 ("dmaengine: fsl-dpaa2-qdma: Adding shutdown hook")
involved this, remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20200303131347.28392-1-yuehaibing@huawei.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/fsl-dpaa2-qdma/dpaa2-qdma.c