Skip to content

Commit

Permalink
iommu/vt-d: Remove unnecessary parentheses
Browse files Browse the repository at this point in the history
Remove unnecessary parentheses to comply with preferred coding
style.

Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
  • Loading branch information
LuBaolu authored and joergroedel committed May 15, 2018
1 parent ab96746 commit bb37f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/iommu/intel-svm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit bb37f7d

Please sign in to comment.