Skip to content

Commit

Permalink
ARM: vic: fix build warning caused by previous commit
Browse files Browse the repository at this point in the history
07c9249 (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>
  • Loading branch information
Russell King committed Nov 8, 2012
1 parent 07c9249 commit 946c59a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/arm/common/vic.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 946c59a

Please sign in to comment.