iommu/vt-d: Remove unnecessary braces
authorParav Pandit <parav@nvidia.com>
Thu, 10 Jun 2021 02:01:13 +0000 (10:01 +0800)
committerJoerg Roedel <jroedel@suse.de>
Thu, 10 Jun 2021 07:06:14 +0000 (09:06 +0200)
No need for braces for single line statement under if() block.

Signed-off-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210530075053.264218-1-parav@nvidia.com
Link: https://lore.kernel.org/r/20210610020115.1637656-22-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel/iommu.c

index dd8ecfb..d9a248e 100644 (file)
@@ -683,9 +683,8 @@ static int domain_update_iommu_superpage(struct dmar_domain *domain,
        struct intel_iommu *iommu;
        int mask = 0x3;
 
-       if (!intel_iommu_superpage) {
+       if (!intel_iommu_superpage)
                return 0;
-       }
 
        /* set iommu_superpage to the smallest common denominator */
        rcu_read_lock();