PCI: xgene-msi: Remove redundant dev_err() call in xgene_msi_probe()
authorErKun Yang <yangerkun@huawei.com>
Thu, 8 Apr 2021 13:27:51 +0000 (21:27 +0800)
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Thu, 5 Aug 2021 11:05:06 +0000 (12:05 +0100)
commit9e4ae52cabd8aec21360a44b90c4ec6b287eb0d2
tree05f6e0d17191819409f27c81dddf9946fe59e69b
parente73f0f0ee7541171d89f2e2491130c7771ba58d3
PCI: xgene-msi: Remove redundant dev_err() call in xgene_msi_probe()

devm_ioremap_resource() internally calls __devm_ioremap_resource() which
is where error checking and handling is actually taking place. i

Therefore, the dev_err() call in xgene_msi_probe() is redundant.

Remove it.

Link: https://lore.kernel.org/r/20210408132751.1198171-1-yangerkun@huawei.com
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: ErKun Yang <yangerkun@huawei.com>
[lorenzo.pieralisi@arm.com: commit log]
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Reviewed-by: Krzysztof WilczyƄski <kw@linux.com>
drivers/pci/controller/pci-xgene-msi.c