diff options
| author | Markus Elfring <[email protected]> | 2024-09-23 08:38:11 +0000 |
|---|---|---|
| committer | Jon Mason <[email protected]> | 2025-03-18 14:33:39 +0000 |
| commit | 4279e72cab31dd3eb8c89591eb9d2affa90ab6aa (patch) | |
| tree | abf14c916be05ed8435f816d6f56365756281bdd /drivers/net/xen-netback/interface.c | |
| parent | ntb: intel: Fix using link status DB's (diff) | |
| download | kernel-4279e72cab31dd3eb8c89591eb9d2affa90ab6aa.tar.gz kernel-4279e72cab31dd3eb8c89591eb9d2affa90ab6aa.zip | |
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: 5648e56d03fa ("NTB: ntb_perf: Add full multi-port NTB API support")
Cc: [email protected]
Signed-off-by: Markus Elfring <[email protected]>
Signed-off-by: Jon Mason <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
