usb: musb: remove dead select of USB_MUSB_DUAL_ROLE
Subsystems (2)
PATCH v2 1/1 usb: musb: remove dead select of USB_MUSB_DUAL_ROLE
'select' does not work on config options in a 'choice', so currently it is possible to enable USB_MUSB_POLARFIRE_SOC without USB_MUSB_DUAL_ROLE.
Remove the dead select, as it is unnecessary, from this conversation:
https://lore.kernel.org/all/20260712-parole-stoning-d7e66a0961a8@spud/
This dead select was found by kconfirm, a static analysis tool for Kconfig.
---
Changes since v1: remove 'select' instead of changing to dependency
drivers/usb/musb/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/usb/musb/Kconfig +0 -1
@@ -116,7 +116,6 @@ config USB_MUSB_POLARFIRE_SOC tristate "Microchip PolarFire SoC platforms" depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST depends on NOP_USB_XCEIV - select USB_MUSB_DUAL_ROLE help Say Y here to enable support for USB on Microchip's PolarFire SoC.
Signature · 1 line
2.54.0
PATCH v2 1/1 usb: musb: remove dead select of USB_MUSB_DUAL_ROLE
'select' does not work on config options in a 'choice', so currently it is possible to enable USB_MUSB_POLARFIRE_SOC without USB_MUSB_DUAL_ROLE.
Remove the dead select, as it is unnecessary, from this conversation:
https://lore.kernel.org/all/20260712-parole-stoning-d7e66a0961a8@spud/
This dead select was found by kconfirm, a static analysis tool for Kconfig.
---
Changes since v1: remove 'select' instead of changing to dependency
drivers/usb/musb/Kconfig | 1 - 1 file changed, 1 deletion(-)
drivers/usb/musb/Kconfig +0 -1
@@ -116,7 +116,6 @@ config USB_MUSB_POLARFIRE_SOC tristate "Microchip PolarFire SoC platforms" depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST depends on NOP_USB_XCEIV - select USB_MUSB_DUAL_ROLE help Say Y here to enable support for USB on Microchip's PolarFire SoC.
Signature · 1 line
2.54.0
Quoted 11 lines · Julian Braha
'select' does not work on config options in a 'choice', so currently it is possible to enable
USB_MUSB_POLARFIRE_SOCwithoutUSB_MUSB_DUAL_ROLE.Remove the dead select, as it is unnecessary, from this conversation:
https://lore.kernel.org/all/20260712-parole-stoning-d7e66a0961a8@spud/This dead select was found by kconfirm, a static analysis tool for
Kconfig.Suggested-by Conor Dooley <[email protected]>Signed-off-by Julian Braha <[email protected]>---
Thanks!