summaryrefslogtreecommitdiff
path: root/arch/arm/common/vic.c
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2012-11-08 10:48:30 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-11-08 10:48:30 +0000
commit946c59a08a2497303750c0fee4367ca32009155c (patch)
treefa33bd950fed39b5c2d6814154d4714e42549146 /arch/arm/common/vic.c
parent07c9249f1fa90cc8189bed44c0bcece664596a72 (diff)
downloadlinux-next-946c59a08a2497303750c0fee4367ca32009155c.tar.gz
ARM: vic: fix build warning caused by previous commit
07c9249f1f (ARM: 7554/1: VIC: use irq_domain_add_simple()) removed the use of 'irq_base' but did not remove the variable itself, which causes: arch/arm/common/vic.c: In function 'vic_of_init': arch/arm/common/vic.c:410:6: warning: unused variable 'irq_base' Remove this now unused variable. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/common/vic.c')
-rw-r--r--arch/arm/common/vic.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c
index 4fd5d980edde..e4df17ca90c7 100644
--- a/arch/arm/common/vic.c
+++ b/arch/arm/common/vic.c
@@ -407,7 +407,6 @@ void __init vic_init(void __iomem *base, unsigned int irq_start,
int __init vic_of_init(struct device_node *node, struct device_node *parent)
{
void __iomem *regs;
- int irq_base;
if (WARN(parent, "non-root VICs are not supported"))
return -EINVAL;