Message ID | 20240708151801.11592-9-kabel@kernel.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> 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 776DEC3271E for <linux-arm-kernel@archiver.kernel.org>; Mon, 8 Jul 2024 15:20:17 +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=MaWIo1b/EV/FEt/wL7wKUS0i/LNZWZxOWEBw8hn7G1c=; b=uduTwWl5RaynxyBBhxPvzhCTbh 9KwGqpaQiEqOaVwII/P6shCStgFhhGs1g+ojK2YGgQ39soMIq94Ukr3S0zXrrBuXx/1BOhywF2ElR UeqBHJoHdPerAeXn+MkHGJUucz2o0wyqZm9wcjoRsg2wHMNoGQWRET63Sh8DHKVf4vjHkF1ZQ8FYG 4GhrMRQUap6TgMkRxmBstTNSdZ42vIo6mEg5YHrzypXjDEHigaDrPCAMm24URAwBQ21gwPoyC3nRO eJvll6v+udaGBtoLJ7/9GUDENGjqjzWKi3/N6PLItPr/qrXg8y9NLsk3OiNiDiDsTAMMW05J5cJRj 8wlIUG3w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQq9u-00000004BuZ-3Ftd; Mon, 08 Jul 2024 15:20:06 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sQq8L-00000004BMz-1GJr for linux-arm-kernel@lists.infradead.org; Mon, 08 Jul 2024 15:18:30 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BBCA060E93; Mon, 8 Jul 2024 15:18:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3C13EC4AF0C; Mon, 8 Jul 2024 15:18:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720451908; bh=XNKXMDD6WBdT7ZgATv4rLljz98YQw35Oi0Jo3rSj5cw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VnW2I9owUTF0Vzfkkk2nOljZtlxbFPyh3zBOEmfW0WHhRU534znXSGBILEDUC1gOT bC7aAhjZaf2l0wTipzFjGllcHDUzlVou1FshBVryLTZW94sbrMYZ8vA73IKFxTO/ME l5SYyOvyAb5Oq+eLLgCYPIMag+z8bIVpBb+uPc794H5zBdHe8YQOv6lCCZ/ydI6ovq WoS6FB5HwXBWkl8z9qqOZYF4p7lrWk8dqz0hIb5qqzxFcd3Sj3RURVTtspyFIVc0jo SSw4RrBLjEF0SQgiif3ef596SR2mI8aBeh4aWcxIv7Mw0dJcEzj8OgQoB96Jli3j71 HukwT3zpnAR6Q== From: =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org> To: Andrew Lunn <andrew@lunn.ch>, Gregory Clement <gregory.clement@bootlin.com>, Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, linux-arm-kernel@lists.infradead.org, arm@kernel.org, Andy Shevchenko <andy@kernel.org>, Hans de Goede <hdegoede@redhat.com>, =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com> Cc: =?utf-8?q?Marek_Beh=C3=BAn?= <kabel@kernel.org> Subject: [PATCH v3 08/10] irqchip/armada-370-xp: Simplify is_percpu_irq() code Date: Mon, 8 Jul 2024 17:17:59 +0200 Message-ID: <20240708151801.11592-9-kabel@kernel.org> X-Mailer: git-send-email 2.44.2 In-Reply-To: <20240708151801.11592-1-kabel@kernel.org> References: <20240708151801.11592-1-kabel@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240708_081829_400412_522C3414 X-CRM114-Status: GOOD ( 10.19 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
armada-370-xp irqchip updates round 2
|
expand
|
diff --git a/drivers/irqchip/irq-armada-370-xp.c b/drivers/irqchip/irq-armada-370-xp.c index b9631cc25c0b..cfd6dc803150 100644 --- a/drivers/irqchip/irq-armada-370-xp.c +++ b/drivers/irqchip/irq-armada-370-xp.c @@ -201,10 +201,7 @@ static inline unsigned int msi_doorbell_end(void) static inline bool is_percpu_irq(irq_hw_number_t irq) { - if (irq <= MPIC_MAX_PER_CPU_IRQS) - return true; - - return false; + return irq <= MPIC_MAX_PER_CPU_IRQS; } /*