Skip to content
Commit 9c132c7f authored by Jules Wang's avatar Jules Wang Committed by Michael Tokarev
Browse files

dma-helpers: avoid calling dma_bdrv_unmap() twice



Calling dma_bdrv_unmap() twice is not necessary and may cause
potential problems if some code changes.

Signed-off-by: default avatarJules Wang <junqing.wang@cs2c.com.cn>
Reviewed-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarMichael Tokarev <mjt@tls.msk.ru>
parent 0971f1be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment