From: Mathias Kresin Date: Wed, 15 Aug 2018 17:23:44 +0000 (+0200) Subject: treewide: drop unused get_status_led functions X-Git-Tag: v19.07.0-rc1~2779 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=be06c726c4f7275325dd380ca151963dd7597638;p=openwrt%2Fopenwrt.git treewide: drop unused get_status_led functions The function isn't used for targets getting the status leds from the devicetree. Signed-off-by: Mathias Kresin --- diff --git a/target/linux/ath79/base-files/etc/diag.sh b/target/linux/ath79/base-files/etc/diag.sh index 782bab907a..3ea7ac1a1d 100755 --- a/target/linux/ath79/base-files/etc/diag.sh +++ b/target/linux/ath79/base-files/etc/diag.sh @@ -7,10 +7,6 @@ failsafe="$(get_dt_led failsafe)" running="$(get_dt_led running)" upgrade="$(get_dt_led upgrade)" -get_status_led() { - status_led="$boot" -} - set_state() { status_led="$boot" diff --git a/target/linux/ipq40xx/base-files/etc/diag.sh b/target/linux/ipq40xx/base-files/etc/diag.sh index 782bab907a..3ea7ac1a1d 100755 --- a/target/linux/ipq40xx/base-files/etc/diag.sh +++ b/target/linux/ipq40xx/base-files/etc/diag.sh @@ -7,10 +7,6 @@ failsafe="$(get_dt_led failsafe)" running="$(get_dt_led running)" upgrade="$(get_dt_led upgrade)" -get_status_led() { - status_led="$boot" -} - set_state() { status_led="$boot"