Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3492531pxb; Wed, 13 Oct 2021 07:08:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEB5y4iXmO9WYLRzSIApcVj3RfAzglbte6ekBMkKR3aGwzf7QmvFVTngrHkx49qNuMyQ9j X-Received: by 2002:a63:ce52:: with SMTP id r18mr27315978pgi.350.1634134130714; Wed, 13 Oct 2021 07:08:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634134130; cv=none; d=google.com; s=arc-20160816; b=TeM7OhyS7Qj/RZHtA9+Tw+/5UD8AkBircekNmkYJkCB4CAYGwHlieP3tHvP+Fcr+pn sFcF102vFZ09YycZNoHKhZP0AzQp2rlvSitWcCw/LOuZ/3Qd3d9OdKj/uP1/Xn8oiLz8 qKFuNJ2KydYW+W221rqvYePTfWGb6tl99gYy3bkhlDBCTkp9cAq0ixXdoJPlwlvrItzT KxGoBlfCQ6qlHo3K27y9AUIfzDI3h72EN1vgoGRwE3IlwigpaEE3LGOvP6olv2drsn/U xIAbtF8sBRske2U4Z8lKuV6tCVfHZvMJhH9jo+7UR21dEbucZkDsiRe7PWIbRW1sod7P FOrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=rwR9waCLGbXZ510lRFAu50Tm4/aSgq8WuAr0663RRt4=; b=lUslA26u59VfZZjDFug55sKUFQerc0ienn5hldvu0h4aqk1QW5VtKklI8kTxhq2A5T /d0h7ja7kzZdJBDV9W2dnl2SC1ppljVdzlLbA1uF8HIaYc8gMMC5nt6NJ0Xze9KC48El piuGpKe4xNtfvckAi3fAFaLuZG4uU0RxamBq3C3mZ+m8AN/M87oxbUY6sP87Exm10Te6 gUSmlSRk+7OBABnUhdl5yMjmarxHn1s4w8v35Vy3cwuK76MYBbyvBWvJZzewo305wThr xBjfE0+qPVG4aTpAlaeW1SciqquabS3a2Ovk+ZYtAuWbOAVDvuJFhb2FoLyD55CJ6v5G 9NqQ== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id om4si9251896pjb.12.2021.10.13.07.08.26; Wed, 13 Oct 2021 07:08:50 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235933AbhJMOIa (ORCPT + 99 others); Wed, 13 Oct 2021 10:08:30 -0400 Received: from rosenzweig.io ([138.197.143.207]:46952 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230347AbhJMOIa (ORCPT ); Wed, 13 Oct 2021 10:08:30 -0400 Date: Wed, 13 Oct 2021 10:06:20 -0400 From: Alyssa Rosenzweig To: Lorenzo Pieralisi 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: 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: <20211013134114.GC11036@lpieralisi> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Alyssa