Patchwork crypto: atmel-ecc - remove overly verbose dev_info

login
register
mail settings
Submitter Tudor-Dan Ambarus
Date June 13, 2018, 1:29 p.m.
Message ID <20180613132959.1457-2-tudor.ambarus@microchip.com>
Download mbox | patch
Permalink /patch/10462247/
State Under Review
Delegated to: Herbert Xu
Headers show

Comments

Tudor-Dan Ambarus - June 13, 2018, 1:29 p.m.
Remove it because when using a slow console, it can affect
the speed of crypto operations.

Similar to 'commit 730f23b66095 ("crypto: vmx - Remove overly
verbose printk from AES XTS init")'.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
---
 drivers/crypto/atmel-ecc.c | 4 ----
 1 file changed, 4 deletions(-)

Patch

diff --git a/drivers/crypto/atmel-ecc.c b/drivers/crypto/atmel-ecc.c
index a25772e..74f083f 100644
--- a/drivers/crypto/atmel-ecc.c
+++ b/drivers/crypto/atmel-ecc.c
@@ -567,10 +567,6 @@  static int atmel_ecdh_init_tfm(struct crypto_kpp *tfm)
 	}
 
 	crypto_kpp_set_flags(fallback, crypto_kpp_get_flags(tfm));
-
-	dev_info(&ctx->client->dev, "Using '%s' as fallback implementation.\n",
-		 crypto_tfm_alg_driver_name(crypto_kpp_tfm(fallback)));
-
 	ctx->fallback = fallback;
 
 	return 0;