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)
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

Simple merge