From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66303C43217 for ; Wed, 13 Oct 2021 14:06:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 512FB610C8 for ; Wed, 13 Oct 2021 14:06:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236033AbhJMOIb (ORCPT ); Wed, 13 Oct 2021 10:08:31 -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