summaryrefslogtreecommitdiffstats
path: root/drivers/crypto/ux500/cryp
diff options
context:
space:
mode:
authorMarkus Elfring <elfring@users.sourceforge.net>2018-02-14 10:12:38 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2018-02-22 22:16:33 +0800
commitdbbd5d1efffa97508e70e444a79dc059588b07fd (patch)
tree41478ced617b91e18f388ebb6b8459174e038a4b /drivers/crypto/ux500/cryp
parent333e18c5cc74438f8940c7f3a8b3573748a371f9 (diff)
downloadlinux-dbbd5d1efffa97508e70e444a79dc059588b07fd.tar.gz
linux-dbbd5d1efffa97508e70e444a79dc059588b07fd.tar.bz2
linux-dbbd5d1efffa97508e70e444a79dc059588b07fd.zip
crypto: ux500 - Delete an error message for a failed memory allocation in ux500_cryp_probe()
Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/ux500/cryp')
-rw-r--r--drivers/crypto/ux500/cryp/cryp_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/crypto/ux500/cryp/cryp_core.c b/drivers/crypto/ux500/cryp/cryp_core.c
index 765f53e548ab..50bfc7b4c641 100644
--- a/drivers/crypto/ux500/cryp/cryp_core.c
+++ b/drivers/crypto/ux500/cryp/cryp_core.c
@@ -1416,7 +1416,6 @@ static int ux500_cryp_probe(struct platform_device *pdev)
dev_dbg(dev, "[%s]", __func__);
device_data = devm_kzalloc(dev, sizeof(*device_data), GFP_ATOMIC);
if (!device_data) {
- dev_err(dev, "[%s]: kzalloc() failed!", __func__);
ret = -ENOMEM;
goto out;
}