crypto: bcm - Delete an error message for a failed memory allocation in do_shash()
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>
This commit is contained in:
Родитель
5471f2e2b5
Коммит
72e8d3f895
|
@ -279,7 +279,6 @@ int do_shash(unsigned char *name, unsigned char *result,
|
|||
sdesc = kmalloc(size, GFP_KERNEL);
|
||||
if (!sdesc) {
|
||||
rc = -ENOMEM;
|
||||
pr_err("%s: Memory allocation failure\n", __func__);
|
||||
goto do_shash_err;
|
||||
}
|
||||
sdesc->shash.tfm = hash;
|
||||
|
|
Загрузка…
Ссылка в новой задаче