Skip to content
Commit f7a03501 authored by Alexey Khoroshilov's avatar Alexey Khoroshilov Committed by Vinod Koul
Browse files

dmaengine: stm32-mdma: Remove dead code in stm32_mdma_irq_handler()



Local variable chan is initialized by an address of element of chan array
that is part of stm32_mdma_device struct, so it does not make sense to
compare chan with NULL.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Signed-off-by: default avatarAlexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: a4ffb13c ("dmaengine: Add STM32 MDMA driver")
Reviewed-by: default avatarAmelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/1655072638-9103-1-git-send-email-khoroshilov@ispras.ru


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 5dc86388
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment