]> git.baikalelectronics.ru Git - kernel.git/commit
nios2: remove pointless second entry for CONFIG_TRACE_IRQFLAGS_SUPPORT
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 14 Jun 2019 06:04:23 +0000 (14:04 +0800)
committerLey Foon Tan <ley.foon.tan@intel.com>
Thu, 4 Jul 2019 03:32:09 +0000 (11:32 +0800)
commita8a3fb8147ecd717a6b0dfb81786c9d107bb0f70
tree30ce333c1e134d0f35ffc00bd252d9ea87a369a1
parentb49008dbb1e18d331ada5c5284600ddd65b74262
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>
arch/nios2/Kconfig.debug