diff options
author | Parav Pandit <parav@nvidia.com> | 2021-06-10 05:01:13 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2021-06-10 10:06:14 +0300 |
commit | cee57d4fe74e82e784f6566bad3e3bb1ca51a211 (patch) | |
tree | 4c3ef9195be31e55e6e102484d4582441511a0db /drivers/iommu/intel | |
parent | 74f6d776ae0b8498cfdb574ab24992bd50a2a2f1 (diff) |
iommu/vt-d: Remove unnecessary braces
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>
Diffstat (limited to 'drivers/iommu/intel')
-rw-r--r-- | drivers/iommu/intel/iommu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/iommu/intel/iommu.c b/drivers/iommu/intel/iommu.c index dd8ecfbfdb23..d9a248ee5779 100644 --- a/drivers/iommu/intel/iommu.c +++ b/drivers/iommu/intel/iommu.c @@ -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(); |