base-files: uci-defaults-new: remove ucidef_set_led_interface()

The only user was the hg255d board and config_generate did not even emit
proper uci for it.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 47658
This commit is contained in:
Jo-Philipp Wich 2015-11-26 12:46:09 +00:00
parent ecf5b4fab7
commit 8b9e839955
2 changed files with 1 additions and 17 deletions

View File

@ -293,7 +293,7 @@ generate_led() {
json_select led
json_select "$key"
json_get_vars name sysfs type trigger device interface default port_mask
json_get_vars name sysfs type trigger device default port_mask
uci -q batch <<-EOF
delete system.$cfg

View File

@ -248,22 +248,6 @@ ucidef_set_led_netdev() {
json_select ..
}
ucidef_set_led_interface() {
local name="$1"
local sysfs="$2"
json_select_object led
json_select_object "$1"
json_add_string name "$name"
json_add_string type interface
json_add_string sysfs "$sysfs"
json_add_string interface "$name"
json_select ..
json_select ..
}
ucidef_set_led_usbdev() {
local cfg="led_$1"
local name="$2"