Most ARCHs support SPARSE_IRQ, the dynamical and statical irq description allocation are alternative. The last user of MAY_HAVE_SPARSE_IRQ is sh/csky, but the sh use SPARSE_IRQ, MAY_HAVE_SPARSE_IRQ could be kill. and for csky, it uses statical allocation by default. So MAY_HAVE_SPARSE_IRQ seems to be useless, no need to maintain a separate MAY_HAVE_SPARSE_IRQ config, kill it. Also cleanup the kernel/irq/Kconfig a little. v2: - drop all the NR_IRQS suggested by Geert - don' use SPARSE_IRQ for csky by default, suggested by Guo. Kefeng Wang (3): sh: Cleanup about SPARSE_IRQ csky: Kill MAY_HAVE_SPARSE_IRQ genirq: Cleanup Kconfig arch/csky/Kconfig | 1 - arch/sh/Kconfig | 1 - arch/sh/include/asm/irq.h | 11 --------- kernel/irq/Kconfig | 50 ++++++++++++++++----------------------- 4 files changed, 20 insertions(+), 43 deletions(-) -- 2.26.2