[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <176996239745.2495410.16110856577487908883.tip-bot2@tip-bot2>
Date: Sun, 01 Feb 2026 16:13:17 -0000
From: "tip-bot2 for Thomas Gleixner" <tip-bot2@...utronix.de>
To: linux-tip-commits@...r.kernel.org
Cc: kernel test robot <lkp@...el.com>, Thomas Gleixner <tglx@...nel.org>,
x86@...nel.org, linux-kernel@...r.kernel.org
Subject: [tip: irq/drivers] irqchip/aspeed-scu-ic: Remove unused variable mask
The following commit has been merged into the irq/drivers branch of tip:
Commit-ID: e1f94662d759411fb7da3e4e662ec588c268e1a5
Gitweb: https://git.kernel.org/tip/e1f94662d759411fb7da3e4e662ec588c268e1a5
Author: Thomas Gleixner <tglx@...utronix.de>
AuthorDate: Sun, 01 Feb 2026 16:38:36 +01:00
Committer: Thomas Gleixner <tglx@...nel.org>
CommitterDate: Sun, 01 Feb 2026 17:07:03 +01:00
irqchip/aspeed-scu-ic: Remove unused variable mask
The kernel test robot reports:
drivers/irqchip/irq-aspeed-scu-ic.c:107:27: warning: variable 'mask' set but not used
107 | unsigned int sts, mask;
Remove the leftover.
Fixes: b2a0c13f8b4f ("irqchip/aspeed-scu-ic: Add support for AST2700 SCU interrupt controllers")
Reported-by: kernel test robot <lkp@...el.com>
Signed-off-by: Thomas Gleixner <tglx@...nel.org>
Link: https://patch.msgid.link/874io0h3sz.ffs@tglx
Closes: https://lore.kernel.org/oe-kbuild-all/202602010957.9uuKqUkG-lkp@intel.com/
---
drivers/irqchip/irq-aspeed-scu-ic.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/irqchip/irq-aspeed-scu-ic.c b/drivers/irqchip/irq-aspeed-scu-ic.c
index bee59c8..7398c3b 100644
--- a/drivers/irqchip/irq-aspeed-scu-ic.c
+++ b/drivers/irqchip/irq-aspeed-scu-ic.c
@@ -104,11 +104,10 @@ static void aspeed_scu_ic_irq_handler_split(struct irq_desc *desc)
struct aspeed_scu_ic *scu_ic = irq_desc_get_handler_data(desc);
struct irq_chip *chip = irq_desc_get_chip(desc);
unsigned long bit, enabled, max, status;
- unsigned int sts, mask;
+ unsigned int sts;
chained_irq_enter(chip, desc);
- mask = scu_ic->irq_enable;
sts = readl(scu_ic->base + scu_ic->isr);
enabled = sts & scu_ic->irq_enable;
sts = readl(scu_ic->base + scu_ic->isr);
Powered by blists - more mailing lists