]> git.ipfire.org Git - thirdparty/u-boot.git/commit
led: remove code guarded by always false conditions
authorQuentin Schulz <quentin.schulz@cherry.de>
Wed, 19 Nov 2025 16:43:45 +0000 (17:43 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 5 Dec 2025 16:34:52 +0000 (10:34 -0600)
commitabc34fa944aefca393ca30ffc05cb608c3cb7ade
treed5228806b0765850cf877d2a19bd9d210f967439
parentb3835a812fd94501f3d1417f5b099c1c25b24d00
led: remove code guarded by always false conditions

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@cherry.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
include/status_led.h