Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nios2: remove pointless second entry for CONFIG_TRACE_IRQFLAGS_SUPPORT

Strangely enough, NIOS2 defines TRACE_IRQFLAGS_SUPPORT twice
with different values, which is pointless and confusing.

[1] arch/nios2/Kconfig

config TRACE_IRQFLAGS_SUPPORT
def_bool n

[2] arch/nios2/Kconfig.debug

config TRACE_IRQFLAGS_SUPPORT
def_bool y

[1] is included before [2]. In the Kconfig syntax, the first one
is effective. So, TRACE_IRQFLAGS_SUPPORT is always 'n'.

The second define in arch/nios2/Kconfig.debug is dead code.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Ley Foon Tan <ley.foon.tan@intel.com>

authored by

Masahiro Yamada and committed by
Ley Foon Tan
029f162a 6fbc7275

-3
-3
arch/nios2/Kconfig.debug
··· 1 1 # SPDX-License-Identifier: GPL-2.0 2 2 3 - config TRACE_IRQFLAGS_SUPPORT 4 - def_bool y 5 - 6 3 config EARLY_PRINTK 7 4 bool "Activate early kernel debugging" 8 5 default y