Skip to contentSkip to conversation

tty: serial: remove obsolete config SERIAL_SAMSUNG_UARTS_4

PATCH In review Lukas Bulwahn 2 participants 2 messages Mar 17, 2023

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: serial: remove obsolete config SERIAL_SAMSUNG_UARTS_4

Commit 1ea35b355722 ("ARM: s3c: remove s3c24xx specific hacks"), allows simplifying the whole config logic for SERIAL_SAMSUNG_UARTS, and did this config simplification. However, it misses that SERIAL_SAMSUNG_UARTS_4's effect was just to control SERIAL_SAMSUNG_UARTS, and with the commit's change, the config SERIAL_SAMSUNG_UARTS_4 has no remaining effect and can be deleted.

Remove this obsolete config SERIAL_SAMSUNG_UARTS_4.

---
Arnd, please ack.

Greg, please pick this minor clean-up patch.

 drivers/tty/serial/Kconfig | 7 -------
 1 file changed, 7 deletions(-)
drivers/tty/serial/Kconfig +0 -7
index 0072892ca7fc..39a0078f54f6 100644
@@ -248,13 +248,6 @@ config SERIAL_SAMSUNG
 
 	  Choose Y/M here only if you build for such SoC.
 
-config SERIAL_SAMSUNG_UARTS_4
-	bool
-	depends on SERIAL_SAMSUNG
-	default y
-	help
-	  Internal node for the common case of 4 Samsung compatible UARTs
-
 config SERIAL_SAMSUNG_UARTS
 	int
 	depends on SERIAL_SAMSUNG
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 10 lines · Lukas Bulwahn

Commit 1ea35b355722 ("ARM: s3c: remove s3c24xx specific hacks"), allows simplifying the whole config logic for SERIAL_SAMSUNG_UARTS, and did this config simplification. However, it misses that SERIAL_SAMSUNG_UARTS_4's effect was just to control SERIAL_SAMSUNG_UARTS, and with the commit's change, the config SERIAL_SAMSUNG_UARTS_4 has no remaining effect and can be deleted.

Remove this obsolete config SERIAL_SAMSUNG_UARTS_4.

Nice find!

I tried to carefully check that all Kconfig options that were no longer selectable got removed recursively, along with the code that they control, but I missed this one as I did not search the other way.