mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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: Markus Elfring <[email protected]> Reviewed-by: Christophe Leroy <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
1a3713c7cd
commit
0108aab116
1 changed files with 0 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue