Skip to content

cc2650_sensortag_defconfig assigned missing Kconfig symbols (now dead code) #7873

@ulfalizer

Description

@ulfalizer

The following Kconfig symbols never existed, but are assigned in boards/arm/cc2650_sensortag/cc2650_sensortag_defconfig:

  • PINMUX_CC2650_INIT_PRIO
  • CC2650_TRNG_IRQ_PRIO
  • CC2650_TRNG_ENTROPY_GENERATOR

Only the last one is referenced elsewhere, giving some dead code:

arch/arm/soc/ti_simplelink/cc2650/soc.c:#ifdef CONFIG_CC2650_TRNG_ENTROPY_GENERATOR
arch/arm/soc/ti_simplelink/cc2650/soc.c:	defined(CONFIG_CC2650_TRNG_ENTROPY_GENERATOR) || \
arch/arm/soc/ti_simplelink/cc2650/soc.c:#if defined(CONFIG_GPIO_CC2650) || defined(CONFIG_CC2650_TRNG_ENTROPY_GENERATOR)
arch/arm/soc/ti_simplelink/cc2650/soc.c:#ifdef CONFIG_CC2650_TRNG_ENTROPY_GENERATOR
arch/arm/soc/ti_simplelink/cc2650/soc.c:#if defined(CONFIG_GPIO_CC2650) || defined(CONFIG_CC2650_TRNG_ENTROPY_GENERATOR)

The #ifdefs were renamed by commit da9b0dd (drivers: Rename random to entropy), but no symbol with the old name exists either.

Metadata

Metadata

Assignees

Labels

bugThe issue is a bug, or the PR is fixing a bugpriority: lowLow impact/importance bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions