Skip to content

Commit

Permalink
treewide: drop unused get_status_led functions
Browse files Browse the repository at this point in the history
The function isn't used for targets getting the status leds from the
devicetree.

Signed-off-by: Mathias Kresin <[email protected]>
  • Loading branch information
mkresin committed Aug 16, 2018
1 parent dd448cd commit be06c72
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions target/linux/ath79/base-files/etc/diag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 0 additions & 4 deletions target/linux/ipq40xx/base-files/etc/diag.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit be06c72

Please sign in to comment.