]> Git Repo - linux.git/commitdiff
iommu/vt-d: Remove unnecessary parentheses
authorLu Baolu <[email protected]>
Fri, 4 May 2018 05:08:19 +0000 (13:08 +0800)
committerJoerg Roedel <[email protected]>
Tue, 15 May 2018 14:34:53 +0000 (16:34 +0200)
Remove unnecessary parentheses to comply with preferred coding
style.

Signed-off-by: Lu Baolu <[email protected]>
Signed-off-by: Joerg Roedel <[email protected]>
drivers/iommu/intel-svm.c

index e8cd984cf9c840f18d0e6b1fd166372126efd2d6..45f6e581cd56f63026f50ffed1c2e815f76deff8 100644 (file)
@@ -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) {
This page took 0.056081 seconds and 4 git commands to generate.