![]() commit 4279e72cab31dd3eb8c89591eb9d2affa90ab6aa upstream.
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:
|
||
---|---|---|
.. | ||
hw | ||
test | ||
core.c | ||
Kconfig | ||
Makefile | ||
msi.c | ||
ntb_transport.c |