Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dbbd5d1e authored by Markus Elfring's avatar Markus Elfring Committed by Herbert Xu
Browse files

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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 333e18c5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;
	}