iommu/vt-d: Simplify domain_remove_one_dev_info()
authorJoerg Roedel <jroedel@suse.de>
Tue, 21 Jul 2015 16:19:08 +0000 (18:19 +0200)
committerJoerg Roedel <jroedel@suse.de>
Wed, 12 Aug 2015 14:23:34 +0000 (16:23 +0200)
commitb608ac3b6d54c38d6cf0eb91547f0f960633eb2d
tree679d0b843dbc011273b50be6c1f0877f2707504f
parent42e8c186b595a32918933b3dec445f0bf0f486f6
iommu/vt-d: Simplify domain_remove_one_dev_info()

Simplify this function as much as possible with the new
iommu_refcnt field.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c