diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-08 05:48:30 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2012-11-08 05:48:30 -0500 |
commit | 946c59a08a2497303750c0fee4367ca32009155c (patch) | |
tree | fa33bd950fed39b5c2d6814154d4714e42549146 | |
parent | 07c9249f1fa90cc8189bed44c0bcece664596a72 (diff) |
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>
-rw-r--r-- | arch/arm/common/vic.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/common/vic.c b/arch/arm/common/vic.c index 4fd5d980edd..e4df17ca90c 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, | |||
407 | int __init vic_of_init(struct device_node *node, struct device_node *parent) | 407 | int __init vic_of_init(struct device_node *node, struct device_node *parent) |
408 | { | 408 | { |
409 | void __iomem *regs; | 409 | void __iomem *regs; |
410 | int irq_base; | ||
411 | 410 | ||
412 | if (WARN(parent, "non-root VICs are not supported")) | 411 | if (WARN(parent, "non-root VICs are not supported")) |
413 | return -EINVAL; | 412 | return -EINVAL; |