Skip to content

Commit e1f9466

Browse files
KAGA-KOKOThomas Gleixner
authored andcommitted
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: b2a0c13 ("irqchip/aspeed-scu-ic: Add support for AST2700 SCU interrupt controllers") Reported-by: kernel test robot <lkp@intel.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/874io0h3sz.ffs@tglx Closes: https://lore.kernel.org/oe-kbuild-all/202602010957.9uuKqUkG-lkp@intel.com/
1 parent 3d9617e commit e1f9466

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/irqchip/irq-aspeed-scu-ic.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,10 @@ static void aspeed_scu_ic_irq_handler_split(struct irq_desc *desc)
104104
struct aspeed_scu_ic *scu_ic = irq_desc_get_handler_data(desc);
105105
struct irq_chip *chip = irq_desc_get_chip(desc);
106106
unsigned long bit, enabled, max, status;
107-
unsigned int sts, mask;
107+
unsigned int sts;
108108

109109
chained_irq_enter(chip, desc);
110110

111-
mask = scu_ic->irq_enable;
112111
sts = readl(scu_ic->base + scu_ic->isr);
113112
enabled = sts & scu_ic->irq_enable;
114113
sts = readl(scu_ic->base + scu_ic->isr);

0 commit comments

Comments
 (0)