Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755803AbbLQIqU (ORCPT ); Thu, 17 Dec 2015 03:46:20 -0500 Received: from helcar.hengli.com.au ([209.40.204.226]:39969 "EHLO helcar.hengli.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755761AbbLQIqR (ORCPT ); Thu, 17 Dec 2015 03:46:17 -0500 Date: Thu, 17 Dec 2015 16:46:09 +0800 From: Herbert Xu To: "Pathak, Rahul (R.)" Cc: "davem@davemloft.net" , "linux-crypto@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] crypto: atmel-sha: Removed unused variable "err" Message-ID: <20151217084609.GB9239@gondor.apana.org.au> References: <20151214084411.GA8727@visteon.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20151214084411.GA8727@visteon.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 777 Lines: 20 On Mon, Dec 14, 2015 at 08:44:19AM +0000, Pathak, Rahul (R.) wrote: > From: Rahul Pathak > > 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 Both patches applied. Thanks. -- Email: Herbert Xu 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/