crypto: ccree - drop duplicated error message on SRAM exhaustion
When no SRAM can be allocated, cc_sram_alloc() already prints an error message. Hence there is no need to duplicate this in all callers. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:

committed by
Herbert Xu

parent
f08b58501c
commit
08e8cb119f
@@ -2682,7 +2682,6 @@ int cc_aead_alloc(struct cc_drvdata *drvdata)
|
||||
MAX_HMAC_DIGEST_SIZE);
|
||||
|
||||
if (aead_handle->sram_workspace_addr == NULL_SRAM_ADDR) {
|
||||
dev_err(dev, "SRAM pool exhausted\n");
|
||||
rc = -ENOMEM;
|
||||
goto fail1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user