dmaengine: ppc4xx: remove unused variable `rval'
authorJason Wang <wangborong@cdjrlc.com>
Sun, 14 Nov 2021 06:08:56 +0000 (14:08 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 25 Nov 2021 05:17:08 +0000 (10:47 +0530)
commit7eafa6eed7f1c6d0d7ed2f90792ab6bce462a750
tree955932d11b363c4aa7ce3ddeebdc6c1bca86fa5d
parentc61d7b2ef141abf81140756b45860a2306f395a2
dmaengine: ppc4xx: remove unused variable `rval'

The variable used for returning status in
`ppc440spe_adma_dma2rxor_prep_src' function is never changed
and this function just need to return 0. Thus, the `rval' can
be removed and return 0 from `ppc440spe_adma_dma2rxor_prep_src'.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
Link: https://lore.kernel.org/r/20211114060856.239314-1-wangborong@cdjrlc.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ppc4xx/adma.c