Skip to content
Commit 7eafa6ee authored by Jason Wang's avatar Jason Wang Committed by Vinod Koul
Browse files

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: default avatarJason Wang <wangborong@cdjrlc.com>
Link: https://lore.kernel.org/r/20211114060856.239314-1-wangborong@cdjrlc.com
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent c61d7b2e
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