aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-15 19:23:44 +0200
committerMathias Kresin <dev@kresin.me>2018-08-16 21:20:57 +0200
commitbe06c726c4f7275325dd380ca151963dd7597638 (patch)
treed74aa7237a1b0f033e961a7a24dfcbd043ff31e0 /target/linux
parentdd448cd2767c42d0ccde960da61585a2537eaf5a (diff)
downloadupstream-be06c726c4f7275325dd380ca151963dd7597638.tar.gz
upstream-be06c726c4f7275325dd380ca151963dd7597638.tar.bz2
upstream-be06c726c4f7275325dd380ca151963dd7597638.zip
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 <dev@kresin.me>
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/ath79/base-files/etc/diag.sh4
-rwxr-xr-xtarget/linux/ipq40xx/base-files/etc/diag.sh4
2 files changed, 0 insertions, 8 deletions
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"