Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp330670ybt; Fri, 26 Jun 2020 00:03:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyPqxBmGQY2DNc9RvgpwbzY/yum5wc1oRz1PBhP9/X0m1xVWg5Vt4tp2dzHK1sF8m7gD3wr X-Received: by 2002:a17:906:6499:: with SMTP id e25mr1326483ejm.352.1593155025550; Fri, 26 Jun 2020 00:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593155025; cv=none; d=google.com; s=arc-20160816; b=0Zaap4/sJd9OzQVbSNWfO82mUYrQpGpNDNbzp1tE6GdBGVGOI58y0jauBsSV6he62V c80dm39zbxZW/G0oNkH6fUr4sy2OBMKZ3TxjiCbaPJFDtG4yVKXYqGxm+iCh6pbV9AK+ uVTR1aKr2elYaTyl7eiKWGsJdoirXrUQOR8aMd61YO3GdPFYquOMNRgzlXM07erKjdnD ZDdNuumi1mqyG7CNNjTKSnVCyETVtdln1E+4u+pgpUzY2K9YutUVcvGxdfuqJfFAi7YY jf9A+8Nx+442VT8Wx4meoIEeNcu5mmE2e0ssL19NpMXNXzPxPx1uqfdm1I++XT+AzcLm SycQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=Nn90AwKskNyg73FDHwY2emgY+BUwSJnzVYB1YoWwEKY=; b=rZ0ccLJqsBpCcvlWnf5PTcXDC5nGNc0fkh40pjeUsATa01VNbi9jKhq30S6zlpCnhw v8hDpIlr1bs5BGNQtKVCXSTllcJfsR7PvtP7MwNcZItNhxXaLMe+sILgHw31iGX7HO5g vFEkhCTS1Z8hZeLGLYEbh7Irxb07K8eQXF17RtjNf3IXjU3I3fc1sLTGpkWCnsli3X1S q5Nin2wgoRLv51MAMLiXP+dCEY4YKlTo3vqR53LJb7ku36vZU4G5LsIzchH9hKhUY9Zb WJ7E1tF0MmpmPeQtdrxJ3241L//utH/9C9++EejLbsHcciZFEXEhQN3PIzKbdg7SSMUR sIUw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 13si6405575ejy.446.2020.06.26.00.03.22; Fri, 26 Jun 2020 00:03:45 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725801AbgFZGID (ORCPT + 99 others); Fri, 26 Jun 2020 02:08:03 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:51936 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725601AbgFZGID (ORCPT ); Fri, 26 Jun 2020 02:08:03 -0400 Received: from gwarestrin.arnor.me.apana.org.au ([192.168.0.7]) by fornost.hmeau.com with smtp (Exim 4.92 #5 (Debian)) id 1johWl-0004Vz-Qz; Fri, 26 Jun 2020 16:07:56 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 26 Jun 2020 16:07:55 +1000 Date: Fri, 26 Jun 2020 16:07:55 +1000 From: Herbert Xu To: Colin King Cc: Tom Lendacky , "David S . Miller" , linux-crypto@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] crypto: ccp: remove redundant assignment to variable ret Message-ID: <20200626060755.GB20811@gondor.apana.org.au> References: <20200618101229.11772-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200618101229.11772-1-colin.king@canonical.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Thu, Jun 18, 2020 at 11:12:29AM +0100, Colin King wrote: > From: Colin Ian King > > The variable ret is being assigned with a value that is never read > and it is being updated later with a new value. The assignment is > redundant and can be removed. > > Addresses-Coverity: ("Unused value") > Signed-off-by: Colin Ian King > --- > drivers/crypto/ccp/ccp-ops.c | 1 - > 1 file changed, 1 deletion(-) Patch applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt