Patchwork iommu/mediatek: fix semicolon code style issue

login
register
mail settings
Submitter Yang Wei
Date Feb. 28, 2019, 2:45 p.m.
Message ID <1551365101-4397-1-git-send-email-albin_yang@163.com>
Download mbox | patch
Permalink /patch/739759/
State New
Headers show

Comments

Yang Wei - Feb. 28, 2019, 2:45 p.m.
From: Yang Wei <yang.wei9@zte.com.cn>

Delete a superfluous semicolon in mtk_iommu_add_device().

Signed-off-by: Yang Wei <yang.wei9@zte.com.cn>
---
 drivers/iommu/mtk_iommu_v1.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/drivers/iommu/mtk_iommu_v1.c b/drivers/iommu/mtk_iommu_v1.c
index 7e0df67..52b01e3 100644
--- a/drivers/iommu/mtk_iommu_v1.c
+++ b/drivers/iommu/mtk_iommu_v1.c
@@ -474,7 +474,7 @@  static int mtk_iommu_add_device(struct device *dev)
 		return err;
 	}
 
-	return iommu_device_link(&data->iommu, dev);;
+	return iommu_device_link(&data->iommu, dev);
 }
 
 static void mtk_iommu_remove_device(struct device *dev)