Skip to content
Commit 9ed1d7f5 authored by Vasant Hegde via iommu's avatar Vasant Hegde via iommu Committed by Joerg Roedel
Browse files

iommu/amd: Remove redundant check



smatch static checker warning:
  drivers/iommu/amd/init.c:1989 amd_iommu_init_pci()
  warn: duplicate check 'ret' (previous on line 1978)

Reported-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Fixes: 06687a03

 ("iommu/amd: Improve error handling for amd_iommu_init_pci")
Signed-off-by: default avatarVasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20220314070226.40641-1-vasant.hegde@amd.com
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 5edde870
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment