iommu: remove unneeded semicolon
Subsystems (2)
PATCH 1/1 iommu: remove unneeded semicolon
From: Pei Xiao <[email protected]>
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 <[email protected]>
--- drivers/iommu/dma-iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iommu/dma-iommu.c +2 -2
@@ -1754,7 +1754,7 @@ static size_t cookie_msi_granule(const struct iommu_domain *domain)return PAGE_SIZE ;default :BUG (); - }; + } }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)return &domain->msi_cookie->msi_page_list;default :BUG (); - }; + } } static struct iommu_dma_msi_page *iommu_dma_get_msi_page(struct device *dev,
Signature · 1 line
2.25.1
Quoted 11 lines · On Mon, Apr 07, 2025 at 09:53:28AM +0800, [email protected] wrote:
From: Pei Xiao <[email protected]>
cocci warnings:
drivers/iommu/dma-iommu.c:1788:2-3: Unneeded semicolonso remove unneeded semicolon to fix cocci warnings.
Signed-off-by Pei Xiao <[email protected]>--- drivers/iommu/dma-iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by Jason Gunthorpe <[email protected]>
Jason
Quoted 11 lines · On Mon, Apr 07, 2025 at 09:53:28AM +0800, [email protected] wrote:
From: Pei Xiao <[email protected]>
cocci warnings:
drivers/iommu/dma-iommu.c:1788:2-3: Unneeded semicolonso remove unneeded semicolon to fix cocci warnings.
Signed-off-by Pei Xiao <[email protected]>--- drivers/iommu/dma-iommu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.