diff options
author | Colin Ian King <[email protected]> | 2021-02-03 13:46:52 +0000 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-02-08 17:39:39 +0530 |
commit | eda38ce482b2c88b27e3a7c8aa1ddffa646f3e7f (patch) | |
tree | c5f3623acf0596455d27aa8b08fde1c1cd4fd70a /scripts/bpf_helpers_doc.py | |
parent | ba61c3692034a317499c6d68ccb4543a804dff24 (diff) |
dmaengine: dw-axi-dmac: remove redundant null check on desc
The pointer desc is being null checked twice, the second null check
is redundant because desc has not been re-assigned between the
checks. Remove the redundant second null check on desc.
Fixes: ef6fb2d6f1ab ("dmaengine: dw-axi-dmac: simplify descriptor management")
Signed-off-by: Colin Ian King <[email protected]>
Tested-by: Sia Jee Heng <[email protected]>
Reviewed-by: Sia Jee Heng <[email protected]>
Addresses-Coverity: ("Logically dead code")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions