Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3501079pxb; Wed, 13 Oct 2021 07:17:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxbb87NECkkq3+ZBFEWusaEJ6j/DIolw9CmRQPlFj44P4RiFQ6hRhS/ZrL5fkeC4UwCbgy4 X-Received: by 2002:a05:6402:4315:: with SMTP id m21mr10021367edc.277.1634134673969; Wed, 13 Oct 2021 07:17:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634134673; cv=none; d=google.com; s=arc-20160816; b=i3f3Ed57sAo3fCPrtqLN/NyGVFexPrp7cSFahRrVey2xthTHBAIsqWS7hoPU8TO0F4 W7lacFYNX8lffTJ49o37vruC56z3oolTackhWOi8VbnlauhLiW0I5vLZPJGKlFlqAuSF PQxxkM0iTYFPmc4WofBoxmViwYTdcrnDkTJ+NkLC83vhcrjIMVEfaqmEi0WHqBXpTC2s Bh0STiptt0H0cTCEhlEmjhnYY7Y60sbqq91yEHMsdyXAqRAXWh4WVwE0FJnmWM7VEblN P6G2LVXfSmQbR8NawlRF4Cw4a3TTgWBBtO36uIg1ZAA1alDIc+KZ7caeZBPhqLGmJ2Dj MYGA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=avZVw54wK5Me7BuW8fdia6NNcrBD4r+MEMU8hrj7Xmk=; b=oBLqqbzjARmvanA3fgMPuXPJntqAWwrYl1ppyOPlbelb4HnPvChvazFcIqYDhip4+5 7P3pc+keoF+9GY2pUt7OOI7jikP6YunTfX237fNYuPUlPysGrSM3toshf7181ELqXdxf V63JCX9lI2A5CEC0YCpTE+zlMiNBZTAqfbSrcUQ0S8Q9YBgBSHv2MNnnXG7XTPN3VLAR w39SJYNQEE8sE2GshtCLA5mkR82nK7xLmzGCPMC+1Tq9H7TX6boU00h2T6lVCH+jTprQ 31lT578k+dp8+AMmYRM0cUcwUCC4nX72Tv39Zh3TinumUZrbX0q5IBJnExFl8IqRozW1 L1Ug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hb9si25858899ejc.54.2021.10.13.07.17.28; Wed, 13 Oct 2021 07:17:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236355AbhJMORH (ORCPT + 99 others); Wed, 13 Oct 2021 10:17:07 -0400 Received: from foss.arm.com ([217.140.110.172]:39952 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236390AbhJMORG (ORCPT ); Wed, 13 Oct 2021 10:17:06 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B9E7ED6E; Wed, 13 Oct 2021 07:15:02 -0700 (PDT) Received: from lpieralisi (e121166-lin.cambridge.arm.com [10.1.196.255]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 83BDA3F694; Wed, 13 Oct 2021 07:15:01 -0700 (PDT) Date: Wed, 13 Oct 2021 15:14:59 +0100 From: Lorenzo Pieralisi To: Alyssa Rosenzweig Cc: Colin King , Marc Zyngier , Rob Herring , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Bjorn Helgaas , linux-pci@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH][next] PCI: apple: Remove redundant initialization of pointer port_pdev Message-ID: <20211013141459.GD11036@lpieralisi> References: <20211012133235.260534-1-colin.king@canonical.com> <20211013134114.GC11036@lpieralisi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 13, 2021 at 10:06:20AM -0400, Alyssa Rosenzweig wrote: > Hi Lorenzo, > > > > The pointer port_pdev is being initialized with a value that is never > > > read, it is being updated later on. The assignment is redundant and > > > can be removed. > > > > > > Addresses-Coverity: ("Unused value") > > > Signed-off-by: Colin Ian King > > > --- > > > drivers/pci/controller/pcie-apple.c | 2 +- > > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > Squashed into the commit it is fixing. > > It seems the commit already landed in linux-next? [1] > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=00723f494020aceb92f789af634fecba1477fc01 I know thanks. The updated one will land in next shortly. Lorenzo