[PATCH 4/5] net: remove unreachable legacy LED code
Tom Rini
trini at konsulko.com
Wed Nov 19 18:05:34 CET 2025
On Wed, Nov 19, 2025 at 05:43:48PM +0100, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> The code is guarded by a condition none of the defconfigs meet (that is
> CONFIG_SYS_FAULT_ECHO_LINK_DOWN and CONFIG_LED_STATUS_RED both enabled),
> so we can remove the unreachable code sections.
>
> When doing that, there's no caller for miiphy_link anymore, so it can be
> removed.
>
> This in turns makes CONFIG_SYS_FAULT_ECHO_LINK_DOWN and
> CONFIG_SYS_FAULT_MII_ADDR unused so they are removed as well.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20251119/fb47454a/attachment.sig>
More information about the U-Boot
mailing list