crypto: atmel-sha - Removed unused variable "err"
authorRahul Pathak <rpathak@visteon.com>
Mon, 14 Dec 2015 08:44:19 +0000 (08:44 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Dec 2015 08:42:13 +0000 (16:42 +0800)
commit871b88a8419c8606ad2ebf752cf414c7627cad1a
treeb9c9a335886c0998fce2b8e7ee6fe77ad43ad778
parent6333ed8f26cf77311088d2e2b7cf16d8480bcbb2
crypto: atmel-sha - Removed unused variable "err"

Removed unused variable "err" and directly return "0"

Reported by coccicheck -
./drivers/crypto/atmel-sha.c:758:5-8: Unneeded variable: "err". Return "0" on line 766

Signed-off-by: Rahul Pathak <rpathak@visteon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-sha.c