Skip to contentSkip to conversation

irq: versatile: delete dangling variable

PATCH New Linus Walleij 2 participants 2 messages Nov 28, 2012 – Nov 30, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 irq: versatile: delete dangling variable

From: Linus Walleij <[email protected]>

This one was just creating noise like this:

drivers/irqchip/irq-versatile-fpga.c: In function 'fpga_irq_of_init':
drivers/irqchip/irq-versatile-fpga.c:180:24: warning: unused variable 'f'

---
Arnd, Olof: please put this patch directly where the offending commit is. If I understand correctly that is on the branch integrator/irq.

---
 drivers/irqchip/irq-versatile-fpga.c | 1 -
 1 file changed, 1 deletion(-)
drivers/irqchip/irq-versatile-fpga.c +0 -1
index 789b3e5..9dbd82b 100644
@@ -177,7 +177,6 @@ void __init fpga_irq_init(void __iomem *base, const char *name, int irq_start,
 int __init fpga_irq_of_init(struct device_node *node,
 			    struct device_node *parent)
 {
-	struct fpga_irq_data *f;
 	void __iomem *base;
 	u32 clear_mask;
 	u32 valid_mask;
Signature · 1 line
1.7.11.3
#1 lore raw

PATCH 1/1 irq: versatile: delete dangling variable

Quoted 7 lines · Linus Walleij

From: Linus Walleij <[email protected]>

This one was just creating noise like this:

drivers/irqchip/irq-versatile-fpga.c: In function 'fpga_irq_of_init':
drivers/irqchip/irq-versatile-fpga.c:180:24: warning: unused variable 'f'

Quoted 6 lines

---
Arnd, Olof: please put this patch directly where the offending commit is. If I understand correctly that is on the branch integrator/irq.

Thanks, applied.

-Olof