提交 946c59a0 编写于 作者: R Russell King

ARM: vic: fix build warning caused by previous commit

07c9249f (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: NRussell King <rmk+kernel@arm.linux.org.uk>
上级 07c9249f
...@@ -407,7 +407,6 @@ void __init vic_init(void __iomem *base, unsigned int irq_start, ...@@ -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) int __init vic_of_init(struct device_node *node, struct device_node *parent)
{ {
void __iomem *regs; void __iomem *regs;
int irq_base;
if (WARN(parent, "non-root VICs are not supported")) if (WARN(parent, "non-root VICs are not supported"))
return -EINVAL; return -EINVAL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册