dmaengine: ppc4xx: remove xor_hw_desc assignment without reading
authorKrzysztof Kozlowski <krzk@kernel.org>
Mon, 19 Oct 2020 15:57:56 +0000 (17:57 +0200)
committerVinod Koul <vkoul@kernel.org>
Fri, 30 Oct 2020 08:40:27 +0000 (14:10 +0530)
commit212a93ca435ec847bdfe238f225dd6e8b77927e9
tree60624618954316af245ec02f120bcabfb3966f65
parent68f35add4ba4c850a33878633e10c02d7ba32d84
dmaengine: ppc4xx: remove xor_hw_desc assignment without reading

The xor_hw_desc local variable is assigned but never read:

    drivers/dma/ppc4xx/adma.c: In function ‘ppc440spe_desc_set_src_mult’:
    drivers/dma/ppc4xx/adma.c:562:17: warning: variable ‘xor_hw_desc’ set but not used [-Wunused-but-set-variable]

Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
Link: https://lore.kernel.org/r/20201019155756.21445-2-krzk@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/ppc4xx/adma.c