From patchwork Mon Jul 1 17:02:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Marek_Beh=C3=BAn?= X-Patchwork-Id: 13718469 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0B227C2BD09 for ; Mon, 1 Jul 2024 17:06:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc: To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kjbE/CCOmFb0yucq830B9Tk++S4MWnNy2rNgfnAbvVs=; b=Zt7ntOEKdSfUy4vJa1dZxlHs7/ po0DyMEdPsweElSwxDEIf0+6nLdiXF3Viwyf4rVnVOK7O895Oi6glZwUEO/XefF2PFAgvIW/bcaAh eJ87V5ujzom7P+9Ey0bRLPLO+qbq9guqv91bLKhxADMIW5uLaCbM1Zo5JkFNuON0CB7Wg2WpJpPis qNJyy9FiSTVF8rW4U80Tnilnm74dAeTHm4O49hYOUb3nAwitXXvK0imS0qMl7ru5ixfG8eaR3Adf2 UdJzBPDXQxAMdDVDHOU45vz+dw8Oxdwxy3HzScjCS1Pk93MZ8ExmsKtPhgKvBjGQb5BxejSqZ4n8/ bmvOmEHA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOKUI-00000004FE0-301h; Mon, 01 Jul 2024 17:06:46 +0000 Received: from sin.source.kernel.org ([2604:1380:40e1:4800::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sOKRc-00000004DnF-2S7q for linux-arm-kernel@lists.infradead.org; Mon, 01 Jul 2024 17:04:02 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 9C22BCE1A4C; Mon, 1 Jul 2024 17:03:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 69727C4AF0D; Mon, 1 Jul 2024 17:03:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719853437; bh=LcaXmdatZXIaJIPJwS2iPe2BzlC6Im8nT1AfFwjeKkY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tbsQzW6xE7vIoCcOLv49gNJ4Ast9YffrAQS3MX0Saiow7zbUfEb4F8jhZHfNAjDW2 4cmopGe5oWFBUIEwYmKM+tERwxC3UOad3neAtl6qByK7VfYVtcGDOI7TsbZjajoEaT zBGnwtjNSXJRFakbX+iJUwM32Mf+qZ3je4m3Syh6eENignZY7zX/h20bzq/Aigohnm 5tiNYiKoNcjMu/R+3BV8oyml2ySqyuDZEfi0kdJBrC64nkfeaOG9QsIUTk0eR0pkKy xpn7OXn6JmtZYPlXd97iNWkXk+QT6mDTqF0XK58bICDTcVOzgZbjTjOxr7K57NmIRJ OurC3Qnc+850A== From: =?utf-8?q?Marek_Beh=C3=BAn?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Thomas Gleixner , linux-arm-kernel@lists.infradead.org, arm@kernel.org, Andy Shevchenko , Hans de Goede , =?utf-8?q?Ilpo_J=C3=A4rvinen?= Cc: =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 24/25] irqchip/armada-370-xp: Drop unneeded curly brackets Date: Mon, 1 Jul 2024 19:02:48 +0200 Message-ID: <20240701170249.8128-25-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240701170249.8128-1-kabel@kernel.org> References: <20240701170249.8128-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240701_100400_826817_23371A70 X-CRM114-Status: GOOD ( 11.00 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Drop unneeded curly brackets in mpic_msi_alloc(). Signed-off-by: Marek BehĂșn Reviewed-by: Andrew Lunn --- drivers/irqchip/irq-armada-370-xp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index 8de2f43792f8..f28c067ef4cb 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -289,12 +289,11 @@ static int mpic_msi_alloc(struct irq_domain *domain, unsigned int virq, if (hwirq < 0) return -ENOSPC; - for (unsigned int i = 0; i < nr_irqs; i++) { + for (unsigned int i = 0; i < nr_irqs; i++) irq_domain_set_info(domain, virq + i, hwirq + i, &mpic_msi_bottom_irq_chip, domain->host_data, handle_simple_irq, NULL, NULL); - } return 0; }