From: Kim Phillips Date: Tue, 12 Apr 2011 00:15:28 +0000 (-0500) Subject: crypto: caam - remove duplicate dev_err X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ec8e8dfe5f862a01bf1b5cdac441c083ce0a2a22;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git crypto: caam - remove duplicate dev_err keep the hex error value reporting version (a) to be consistent with decrypt_done(), and (b) to keep our hardware guys happy. Signed-off-by: Kim Phillips Signed-off-by: Herbert Xu --- diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index 8eb84d37f3f0..245cfe42a8ff 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c @@ -418,7 +418,6 @@ static void ipsec_esp_encrypt_done(struct device *jrdev, u32 *desc, u32 err, if (err) { char tmp[256]; - dev_err(jrdev, "%s\n", caam_jr_strstatus(tmp, err)); dev_err(jrdev, "%08x: %s\n", err, caam_jr_strstatus(tmp, err)); }