Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"
From: Herbert Xu
Date: Thu Dec 17 2015 - 03:46:24 EST
On Mon, Dec 14, 2015 at 08:44:19AM +0000, Pathak, Rahul (R.) wrote:
> From: Rahul Pathak <rpathak@xxxxxxxxxxx>
>
> 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@xxxxxxxxxxx>
Both patches applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/