iommu/amd: Get rid of __unbind_pasid
authorJoerg Roedel <jroedel@suse.de>
Tue, 8 Jul 2014 12:19:35 +0000 (14:19 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Jul 2014 13:36:34 +0000 (15:36 +0200)
commit61feb43897ec1cf8b126689035b249f30b0d90ad
tree4b1443309702cb745318d23b45db7884adfa3be8
parentc5db16ad6cc15c261639c0105cfff72df4122790
iommu/amd: Get rid of __unbind_pasid

Unbind_pasid is only called from mn_release which already
has the pasid_state. Use this to simplify the unbind_pasid
path and get rid of __unbind_pasid.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Tested-by: Oded Gabbay <Oded.Gabbay@amd.com>
drivers/iommu/amd_iommu_v2.c