Skip to content

Commit ae4814a

Browse files
Pei Xiaojoergroedel
authored andcommitted
iommu: remove unneeded semicolon
cocci warnings: drivers/iommu/dma-iommu.c:1788:2-3: Unneeded semicolon so remove unneeded semicolon to fix cocci warnings. Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn> Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Link: https://lore.kernel.org/r/tencent_73EEE47E6ECCF538229C9B9E6A0272DA2B05@qq.com Signed-off-by: Joerg Roedel <jroedel@suse.de>
1 parent 38e8844 commit ae4814a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/iommu/dma-iommu.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,7 +1754,7 @@ static size_t cookie_msi_granule(const struct iommu_domain *domain)
17541754
return PAGE_SIZE;
17551755
default:
17561756
BUG();
1757-
};
1757+
}
17581758
}
17591759

17601760
static struct list_head *cookie_msi_pages(const struct iommu_domain *domain)
@@ -1766,7 +1766,7 @@ static struct list_head *cookie_msi_pages(const struct iommu_domain *domain)
17661766
return &domain->msi_cookie->msi_page_list;
17671767
default:
17681768
BUG();
1769-
};
1769+
}
17701770
}
17711771

17721772
static struct iommu_dma_msi_page *iommu_dma_get_msi_page(struct device *dev,

0 commit comments

Comments
 (0)