ARM: shmobile: sh7372: Remove unneeded nr_irqs initialization
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 13 Aug 2014 11:56:56 +0000 (13:56 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Wed, 20 Aug 2014 00:09:24 +0000 (09:09 +0900)
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>
arch/arm/mach-shmobile/setup-sh7372.c

index 9cdfcdfd38fc4b6625a96f1515e7ce0e9834f988..3731eccccef407cad4a3abf6c679e464599fda68 100644 (file)
@@ -1008,7 +1008,6 @@ static const char *sh7372_boards_compat_dt[] __initdata = {
 DT_MACHINE_START(SH7372_DT, "Generic SH7372 (Flattened Device Tree)")
        .map_io         = sh7372_map_io,
        .init_early     = sh7372_add_early_devices_dt,
-       .nr_irqs        = NR_IRQS_LEGACY,
        .init_irq       = sh7372_init_irq,
        .handle_irq     = shmobile_handle_irq_intc,
        .init_machine   = sh7372_add_standard_devices_dt,