diff mbox

irq: versatile: delete dangling variable

Message ID 1354120850-15382-1-git-send-email-linus.walleij@stericsson.com (mailing list archive)
State New, archived
Headers show

Commit Message

Linus Walleij Nov. 28, 2012, 4:40 p.m. UTC
From: Linus Walleij <linus.walleij@linaro.org>

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'

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
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(-)

Comments

Olof Johansson Nov. 30, 2012, 6:01 p.m. UTC | #1
On Wed, Nov 28, 2012 at 05:40:50PM +0100, Linus Walleij wrote:
> From: Linus Walleij <linus.walleij@linaro.org>
> 
> 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'
> 
> Reported-by: Russell King <linux@arm.linux.org.uk>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
> ---
> 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
diff mbox

Patch

diff --git a/drivers/irqchip/irq-versatile-fpga.c b/drivers/irqchip/irq-versatile-fpga.c
index 789b3e5..9dbd82b 100644
--- a/drivers/irqchip/irq-versatile-fpga.c
+++ b/drivers/irqchip/irq-versatile-fpga.c
@@ -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;