treewide: drop unused get_status_led functions
authorMathias Kresin <dev@kresin.me>
Wed, 15 Aug 2018 17:23:44 +0000 (19:23 +0200)
committerMathias Kresin <dev@kresin.me>
Thu, 16 Aug 2018 19:20:57 +0000 (21:20 +0200)
The function isn't used for targets getting the status leds from the
devicetree.

Signed-off-by: Mathias Kresin <dev@kresin.me>
target/linux/ath79/base-files/etc/diag.sh
target/linux/ipq40xx/base-files/etc/diag.sh

index 782bab9..3ea7ac1 100755 (executable)
@@ -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"
 
index 782bab9..3ea7ac1 100755 (executable)
@@ -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"