mips: drop selecting non-existing config NR_CPUS_DEFAULT_2
authorLukas Bulwahn <lukas.bulwahn@gmail.com>
Mon, 13 Dec 2021 11:16:36 +0000 (12:16 +0100)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 16 Dec 2021 14:47:02 +0000 (15:47 +0100)
Commit c5eaff3e857e ("MIPS: Kconfig: Drop obsolete NR_CPUS_DEFAULT_{1,2}
options") removed the config NR_CPUS_DEFAULT_2, as with this commit, the
NR_CPUS default value is 2.

Commit 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)") introduces
the config SGI_IP30, which selects the removed config NR_CPUS_DEFAULT_2,
but this has actually no effect.

Fortunately, NR_CPUS defaults to 2 when there is no specific
NR_CPUS_DEFAULT_* config selected. So, the effect of the intended
'select NR_CPUS_DEFAULT_2' is achieved without further ado.

Drop selecting the non-existing config NR_CPUS_DEFAULT_2.

The issue was identified with ./scripts/checkkconfigsymbols.py.

Fixes: 7505576d1c1a ("MIPS: add support for SGI Octane (IP30)")
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/Kconfig

index cf2ffa5..ff22e5d 100644 (file)
@@ -762,7 +762,6 @@ config SGI_IP30
        select HAVE_PCI
        select IRQ_MIPS_CPU
        select IRQ_DOMAIN_HIERARCHY
-       select NR_CPUS_DEFAULT_2
        select PCI_DRIVERS_GENERIC
        select PCI_XTALK_BRIDGE
        select SYS_HAS_EARLY_PRINTK