[PATCH 1/5] led: remove code guarded by always false conditions
Tom Rini
trini at konsulko.com
Wed Nov 19 18:05:18 CET 2025
On Wed, Nov 19, 2025 at 05:43:45PM +0100, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz at cherry.de>
>
> The last CONFIG_MVS in code was removed almost 12 years ago in commit
> 3b98b57fa796 ("include: delete unused header files").
>
> STATUS_LED_PAR was last seen 8 years ago when removed in commit
> 5b8e76c35ec3 ("powerpc, 8xx: remove support for 8xx").
>
> If CONFIG_LED_STATUS_BOARD_SPECIFIC is not defined, the build will fail
> so we won't even reach this part of the code.
>
> Let's simplify the if block to actually possible configurations.
>
> Signed-off-by: Quentin Schulz <quentin.schulz at cherry.de>
Fixes: 3b98b57fa796 ("include: delete unused header files")
Fixes: 5b8e76c35ec3 ("powerpc, 8xx: remove support for 8xx")
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/eab4091d/attachment.sig>
More information about the U-Boot
mailing list