crypto: omap - Removed unused variable "err"
authorRahul Pathak <rpathak@visteon.com>
Mon, 14 Dec 2015 08:45:23 +0000 (08:45 +0000)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 17 Dec 2015 08:42:13 +0000 (16:42 +0800)
commit16f080aaadcb912c9a47c8603a38ccad87da38ea
treeaf027759ce37311ad029a0d73f2e145e5d40a3da
parent871b88a8419c8606ad2ebf752cf414c7627cad1a
crypto: omap - Removed unused variable "err"

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

Reported by coccicheck -
./drivers/crypto/omap-aes.c:542:5-8: Unneeded variable: "err". Return "0" on line 551
./drivers/crypto/omap-des.c:530:5-8: Unneeded variable: "err". Return "0" on line 539

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