diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-08-13 07:56:58 -0400 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-19 20:06:37 -0400 |
commit | 3969d6490ba35b01f84bb12472c29c6029f7298b (patch) | |
tree | e69467653de34aec747ef4fcc6323b9aef1b5bd6 /arch/arm/mach-shmobile/board-kzm9g-reference.c | |
parent | f185a01b3877880135ea73ddfcec52bd9a4d4864 (diff) |
ARM: shmobile: kzm9g-reference: Remove unneeded nr_irqs initialization
As per arch_probe_nr_irqs(), the default value is NR_IRQS, which maps to
NR_IRQS_LEGACY if CONFIG_SPARSE_IRQ=y.
Since SPARSE_IRQ is selected by both ARCH_MULTIPLATFORM and
ARCH_SHMOBILE_LEGACY, it's always enabled on shmobile.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'arch/arm/mach-shmobile/board-kzm9g-reference.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-kzm9g-reference.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/board-kzm9g-reference.c b/arch/arm/mach-shmobile/board-kzm9g-reference.c index 9ec98871e292..1694a1609296 100644 --- a/arch/arm/mach-shmobile/board-kzm9g-reference.c +++ b/arch/arm/mach-shmobile/board-kzm9g-reference.c | |||
@@ -52,7 +52,6 @@ DT_MACHINE_START(KZM9G_DT, "kzm9g-reference") | |||
52 | .smp = smp_ops(sh73a0_smp_ops), | 52 | .smp = smp_ops(sh73a0_smp_ops), |
53 | .map_io = sh73a0_map_io, | 53 | .map_io = sh73a0_map_io, |
54 | .init_early = sh73a0_init_delay, | 54 | .init_early = sh73a0_init_delay, |
55 | .nr_irqs = NR_IRQS_LEGACY, | ||
56 | .init_machine = kzm_init, | 55 | .init_machine = kzm_init, |
57 | .init_late = shmobile_init_late, | 56 | .init_late = shmobile_init_late, |
58 | .dt_compat = kzm9g_boards_compat_dt, | 57 | .dt_compat = kzm9g_boards_compat_dt, |