diff options
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | 2022-06-13 01:23:58 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-06-16 09:04:09 -0700 |
commit | f7a03501b090f8c5f9ecb08420cda0b168667004 (patch) | |
tree | b0f05c2f158b9a46d43a1e5c5e67259c3631b84a /Documentation/driver-api/dmaengine/provider.rst | |
parent | MAINTAINERS: idxd driver maintainer update (diff) | |
download | linux-dev-f7a03501b090f8c5f9ecb08420cda0b168667004.tar.xz linux-dev-f7a03501b090f8c5f9ecb08420cda0b168667004.zip |
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: Alexey Khoroshilov <khoroshilov@ispras.ru>
Fixes: a4ffb13c8946 ("dmaengine: Add STM32 MDMA driver")
Reviewed-by: Amelie Delaunay <amelie.delaunay@foss.st.com>
Link: https://lore.kernel.org/r/1655072638-9103-1-git-send-email-khoroshilov@ispras.ru
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'Documentation/driver-api/dmaengine/provider.rst')
0 files changed, 0 insertions, 0 deletions