提交 340ec061 编写于 作者: S Shaokun Zhang 提交者: Joerg Roedel

iommu/amd: Remove redundant assignment of err

'err' will be initialized and cleanup the redundant initialization.

Cc: Joerg Roedel <joro@8bytes.org>
Signed-off-by: NShaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1621395447-34738-1-git-send-email-zhangshaokun@hisilicon.comSigned-off-by: NJoerg Roedel <jroedel@suse.de>
上级 be227f8e
......@@ -1785,7 +1785,7 @@ static void __init amd_iommu_init_dma_ops(void)
int __init amd_iommu_init_api(void)
{
int err = 0;
int err;
amd_iommu_init_dma_ops();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册