From be06c726c4f7275325dd380ca151963dd7597638 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Wed, 15 Aug 2018 19:23:44 +0200 Subject: 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 --- target/linux/ath79/base-files/etc/diag.sh | 4 ---- target/linux/ipq40xx/base-files/etc/diag.sh | 4 ---- 2 files changed, 8 deletions(-) (limited to 'target') 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" -- cgit v1.2.3