From 4cbf5601f9621d0f8973237f3133b821f472845c Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Mon, 23 Jul 2018 07:57:45 +0200 Subject: [PATCH] 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 --- target/linux/ramips/base-files/etc/diag.sh | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.25.1