Commit 340ec061 authored by Shaokun Zhang's avatar Shaokun Zhang Committed by Joerg Roedel
Browse files

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: default avatarShaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1621395447-34738-1-git-send-email-zhangshaokun@hisilicon.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent be227f8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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();