diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2014-08-13 13:56:57 +0200 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2014-08-20 09:09:24 +0900 |
commit | 5ac9e7f35db00e630c9f95a1f73ac329371cdbbf (patch) | |
tree | 299c0732c646c77352be2d54d7522e4a4b283000 /arch/arm/mach-shmobile/setup-sh73a0.c | |
parent | ea2e46086969e11b759a8f2c111c9b007d1b35c9 (diff) | |
download | linux-stable-5ac9e7f35db00e630c9f95a1f73ac329371cdbbf.tar.gz linux-stable-5ac9e7f35db00e630c9f95a1f73ac329371cdbbf.tar.bz2 linux-stable-5ac9e7f35db00e630c9f95a1f73ac329371cdbbf.zip |
ARM: shmobile: sh73a0: 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/setup-sh73a0.c')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh73a0.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh73a0.c b/arch/arm/mach-shmobile/setup-sh73a0.c index 002291881eb3..e7a0296b81b1 100644 --- a/arch/arm/mach-shmobile/setup-sh73a0.c +++ b/arch/arm/mach-shmobile/setup-sh73a0.c @@ -797,7 +797,6 @@ DT_MACHINE_START(SH73A0_DT, "Generic SH73A0 (Flattened Device Tree)") .smp = smp_ops(sh73a0_smp_ops), .map_io = sh73a0_map_io, .init_early = sh73a0_init_delay, - .nr_irqs = NR_IRQS_LEGACY, .init_machine = sh73a0_add_standard_devices_dt, .init_late = shmobile_init_late, .dt_compat = sh73a0_boards_compat_dt, |