summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/atmel-tdes.c
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-04-07 16:18:15 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2021-04-16 13:16:32 +0200
commit8553856cc6f720cb22fae14dc144c52c39085ca5 (patch)
tree311271078bab9ed655694e8a8de475a6eaf99e78 /drivers/crypto/atmel-tdes.c
parentcrypto: hisilicon/trng - add version to adapt new algorithm (diff)
downloadlinux-8553856cc6f720cb22fae14dc144c52c39085ca5.tar.xz
linux-8553856cc6f720cb22fae14dc144c52c39085ca5.zip
crypto: atmel-tdes - Remove redundant dev_err call in atmel_tdes_probe()
There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/atmel-tdes.c')
-rw-r--r--drivers/crypto/atmel-tdes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/atmel-tdes.c b/drivers/crypto/atmel-tdes.c
index 4d63cb13a54f..6f01c51e3c37 100644
--- a/drivers/crypto/atmel-tdes.c
+++ b/drivers/crypto/atmel-tdes.c
@@ -1217,7 +1217,6 @@ static int atmel_tdes_probe(struct platform_device *pdev)
tdes_dd->io_base = devm_ioremap_resource(&pdev->dev, tdes_res);
if (IS_ERR(tdes_dd->io_base)) {
- dev_err(dev, "can't ioremap\n");
err = PTR_ERR(tdes_dd->io_base);
goto err_tasklet_kill;
}