OSDN Git Service

vfio/type1: unmap cleanup
authorSteve Sistare <steven.sistare@oracle.com>
Fri, 29 Jan 2021 16:54:05 +0000 (08:54 -0800)
committerAlex Williamson <alex.williamson@redhat.com>
Mon, 1 Feb 2021 20:20:05 +0000 (13:20 -0700)
commit0f53afa12baec8c00f5d1d6afb49325ada105253
treebe8b4a4b8f4073e61343c7a5de9477ee60b9df75
parentc98fe7c2a2038af2bc24f039ccdb5a65c22ba11a
vfio/type1: unmap cleanup

Minor changes in vfio_dma_do_unmap to improve readability, which also
simplify the subsequent unmap-all patch.  No functional change.

Signed-off-by: Steve Sistare <steven.sistare@oracle.com>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio_iommu_type1.c