From: Mathias Kresin Date: Mon, 23 Jul 2018 05:57:45 +0000 (+0200) Subject: ramips: remove stale get_status_led call X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=4cbf5601f9621d0f8973237f3133b821f472845c;p=openwrt%2Fstaging%2Fthess.git ramips: remove stale get_status_led call The get_status_led() function was removed due to the convertion to dts alias based status led. Since we don't need the boardname any longer, the functions.sh include isn't required any more. Fixes: c9c4b2116c09 ("ramips: Use dts alias based status led") Signed-off-by: Mathias Kresin --- diff --git a/target/linux/ramips/base-files/etc/diag.sh b/target/linux/ramips/base-files/etc/diag.sh index 6df243e393..d4318b61a7 100644 --- a/target/linux/ramips/base-files/etc/diag.sh +++ b/target/linux/ramips/base-files/etc/diag.sh @@ -1,14 +1,11 @@ #!/bin/sh # Copyright (C) 2010-2013 OpenWrt.org -. /lib/functions.sh . /lib/functions/leds.sh status_led="$(get_dt_led status)" set_state() { - get_status_led $1 - case "$1" in preinit) status_led_blink_preinit