projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a3713c
)
crypto: talitos - Delete an error message for a failed memory allocation in talitos_e...
author
Markus Elfring
<elfring@users.sourceforge.net>
Mon, 12 Mar 2018 13:18:23 +0000
(14:18 +0100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 23 Mar 2018 15:39:57 +0000
(23:39 +0800)
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>
Reviewed-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/talitos.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/talitos.c
b/drivers/crypto/talitos.c
index 447cb8b1b16a77c17d8428ea26f8489e2c7ba95b..9a9788d7d5a8e10a815bedcc07d22895f7e54e53 100644
(file)
--- a/
drivers/crypto/talitos.c
+++ b/
drivers/crypto/talitos.c
@@
-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;
}