Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1293676

Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err"
Date 2015-12-17 09:50 +0100
Message-ID <qGCq6-5pv-7@gated-at.bofh.it> (permalink)
References <qFwZr-3HK-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Dec 14, 2015 at 08:44:19AM +0000, Pathak, Rahul (R.) wrote:
> From: Rahul Pathak <rpathak@visteon.com>
> 
> 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>

Both patches applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/2] crypto: atmel-sha: Removed unused variable "err" "Pathak, Rahul (R.)" <rpathak@visteon.com> - 2015-12-14 09:50 +0100
  Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err" Herbert Xu <herbert@gondor.apana.org.au> - 2015-12-17 09:50 +0100

csiph-web