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

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

crypto: talitos - Delete an error message for a failed memory allocation in talitos_edesc_alloc()



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>
Reviewed-by: default avatarChristophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1a3713c7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1420,7 +1420,6 @@ static struct talitos_edesc *talitos_edesc_alloc(struct device *dev,

	edesc = kmalloc(alloc_len, GFP_DMA | flags);
	if (!edesc) {
		dev_err(dev, "could not allocate edescriptor\n");
		err = ERR_PTR(-ENOMEM);
		goto error_sg;
	}