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 782bab907af212260fc071b5aa67bdf321b33659..3ea7ac1a1d6b8307d659c5cb3392933e37203a12 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 782bab907af212260fc071b5aa67bdf321b33659..3ea7ac1a1d6b8307d659c5cb3392933e37203a12 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"