Browse Source

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 <[email protected]>
Mathias Kresin 7 years ago
parent
commit
4cbf5601f9
1 changed files with 0 additions and 3 deletions
  1. 0 3
      target/linux/ramips/base-files/etc/diag.sh

+ 0 - 3
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