From patchwork Thu Jul 11 16:09:02 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: 13730842 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 D4C5CC3DA45 for ; Thu, 11 Jul 2024 16:11:00 +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=we8Xy2P02dia0143QbV+/M1Ta6pEF2gHua8A9eOrFFg=; b=govupETECK8JC4hnGklR9NnKod 5c2vvQ24mZ2jpQ+i1f9h1ZfqUqZfTzWkL51J1q+pMlZNBS3sAc909DnH2CY4vWoj55lSKVWLmBoAN F6ihjIP+LW5qI+WCnNP00sFS7UeBhOgjswX6hKOZ/prtDEXVDukdeIruoBwbQ6qJwSCKP8pa0+odw VZnx8Z/vxqxDaDQMPGf6LGpj8KNPJzmx26yeqfIMquEJNwVxIdbq0ezCsj6uiHXaKNAc5dvkOyFN0 B6kNYsUVrVTIwUuHaZHrKEwW6lfRNMBe3KZIHdvRSmYbONBRzZWPeNWbIS91BKCjqhu+eOuZ86WzT H6IyHZ5w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sRwNf-0000000EdIz-3Wrj; Thu, 11 Jul 2024 16:10:51 +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 1sRwMJ-0000000Echg-3u1A for linux-arm-kernel@lists.infradead.org; Thu, 11 Jul 2024 16:09:29 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 4CEABCE191B; Thu, 11 Jul 2024 16:09:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5A5B5C4AF09; Thu, 11 Jul 2024 16:09:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720714165; bh=K5oYkbQbLa9UcV/R6htueBx8aGubNNzhgbszoB7BIcs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KH8VL8VkytSyao+14sON5Aagl8pnR2fFfNcg3nNzZpJYaCVz5kVNLhwVNhQXIetRw eU2XfgHoCzawF1OSvGgA/sKKneD8kgccbJTRy3ssGd7Wv3/XsXFZFMEg8+xtbUIJ1E XSa8ytFDBTCFwY/4XZqme1WYKEDM0yFu+1EDkFyI1MPEtq+6+wepzbTQdQ3534ZZMn Oskjh5AWqWZHTAsgVSXhMcjQQcw3sCLtrzrgrI+JrF5p6Dgl3fOYL8r0zRY1eH6b/N RSdO4Bme8UqUThkWWYzZo4Q0JCiS4YKeKSOCgg37vgO/W1yPKeiLbWI0v+zdY58A70 sJV467oFJunOg== 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 05/10] irqchip/armada-370-xp: Drop unneeded curly brackets Date: Thu, 11 Jul 2024 18:09:02 +0200 Message-ID: <20240711160907.31012-6-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240711160907.31012-1-kabel@kernel.org> References: <20240711160907.31012-1-kabel@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240711_090928_174849_B8F75FCF X-CRM114-Status: GOOD ( 11.04 ) 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 --- 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 3fc669cfd494..3d4f32f340f6 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; }