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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id A64FFC433F5 for ; Tue, 21 Dec 2021 15:44:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236522AbhLUPo1 convert rfc822-to-8bit (ORCPT ); Tue, 21 Dec 2021 10:44:27 -0500 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:40795 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236408AbhLUPoZ (ORCPT ); Tue, 21 Dec 2021 10:44:25 -0500 Received: (Authenticated sender: thomas.petazzoni@bootlin.com) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 0E1ABFF81E; Tue, 21 Dec 2021 15:44:22 +0000 (UTC) Date: Tue, 21 Dec 2021 16:44:22 +0100 From: Thomas Petazzoni To: Pali =?UTF-8?B?Um9ow6Fy?= Cc: "Lorenzo Pieralisi" , "Rob Herring" , Krzysztof =?UTF-8?B?V2lsY3p5xYRza2k=?= , "Bjorn Helgaas" , Marek =?UTF-8?B?QmVow7pu?= , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 06/11] PCI: mvebu: Remove duplicate nports assignment Message-ID: <20211221164422.2861f639@windsurf> In-Reply-To: <20211221141455.30011-7-pali@kernel.org> References: <20211221141455.30011-1-pali@kernel.org> <20211221141455.30011-7-pali@kernel.org> Organization: Bootlin X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Dec 2021 15:14:50 +0100 Pali Rohár wrote: > Member pcie->nports is initialized to correct value before the previous > for-loop. There is not need to initialize it more times. > > Signed-off-by: Pali Rohár Acked-by: Thomas Petazzoni -- Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com