iommu/vt-d: Remove duplicated check in intel_svm_bind_mm()
authorLu Baolu <baolu.lu@linux.intel.com>
Sat, 16 May 2020 06:21:00 +0000 (14:21 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 18 May 2020 13:37:26 +0000 (15:37 +0200)
commit7482fd59259a7f23e191c14b8a126a0f6981b3e4
tree6afddaebbb561a8aca068592f3af37bf268f44ee
parent81ebd91a436b87158b2ab6c71a51395316b147dc
iommu/vt-d: Remove duplicated check in intel_svm_bind_mm()

The info and info->pasid_support have already been checked in previous
intel_iommu_enable_pasid() call. No need to check again.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20200516062101.29541-18-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-svm.c