crypto: caam - remove duplicate dev_err
authorKim Phillips <kim.phillips@freescale.com>
Tue, 12 Apr 2011 00:15:28 +0000 (19:15 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 2 May 2011 23:53:40 +0000 (09:53 +1000)
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 <kim.phillips@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/caamalg.c

index 8eb84d37f3f04174ec03b02289ab6195c26f84c9..245cfe42a8ff2729ef4364e79d05e742aa6e9c04 100644 (file)
@@ -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));
        }