iommu/amd: Remove redundant assignment of err
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Wed, 19 May 2021 03:37:27 +0000 (11:37 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 7 Jun 2021 13:05:06 +0000 (15:05 +0200)
commit340ec061f76502befea92d9913886991a60cf15e
treeb2b10226d89737a9ff389e4160b3247920474ef1
parentbe227f8e99a663d097536e9f9bc935fb26bdbc41
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: Shaokun Zhang <zhangshaokun@hisilicon.com>
Link: https://lore.kernel.org/r/1621395447-34738-1-git-send-email-zhangshaokun@hisilicon.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd/iommu.c