summaryrefslogtreecommitdiffstats
path: root/drivers/iommu
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2018-05-04 13:08:19 +0800
committerJoerg Roedel <jroedel@suse.de>2018-05-15 16:34:53 +0200
commitbb37f7db07293ec5bfc9b389948ea493b93028b7 (patch)
tree7446ec7c438af4d1da752e02c64d609b96f79728 /drivers/iommu
parentab96746aaa344fb720a198245a837e266fad3b62 (diff)
downloadlinux-bb37f7db07293ec5bfc9b389948ea493b93028b7.tar.gz
linux-bb37f7db07293ec5bfc9b389948ea493b93028b7.tar.bz2
linux-bb37f7db07293ec5bfc9b389948ea493b93028b7.zip
iommu/vt-d: Remove unnecessary parentheses
Remove unnecessary parentheses to comply with preferred coding style. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r--drivers/iommu/intel-svm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/intel-svm.c b/drivers/iommu/intel-svm.c
index e8cd984cf9c8..45f6e581cd56 100644
--- a/drivers/iommu/intel-svm.c
+++ b/drivers/iommu/intel-svm.c
@@ -319,7 +319,7 @@ int intel_svm_bind_mm(struct device *dev, int *pasid, int flags, struct svm_dev_
} else
pasid_max = 1 << 20;
- if ((flags & SVM_FLAG_SUPERVISOR_MODE)) {
+ if (flags & SVM_FLAG_SUPERVISOR_MODE) {
if (!ecap_srs(iommu->ecap))
return -EINVAL;
} else if (pasid) {