Skip to content
Commit 4279e72c authored by Markus Elfring's avatar Markus Elfring Committed by Jon Mason
Browse files

ntb_perf: Delete duplicate dmaengine_unmap_put() call in perf_copy_chunk()



The function call “dmaengine_unmap_put(unmap)” was used in an if branch.
The same call was immediately triggered by a subsequent goto statement.
Thus avoid such a call repetition.

This issue was detected by using the Coccinelle software.

Fixes: 5648e56d ("NTB: ntb_perf: Add full multi-port NTB API support")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarJon Mason <jdmason@kudzu.us>
parent 8144e9c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment