base-files: move uci_set_poe() to uci-defaults.sh
[openwrt/openwrt.git] / target / linux / realtek / base-files / etc / board.d / 02_network
index 1c1e4e9cd2238a0049bd6acb6bddb1707ef5da83..db1d99f4ec313ed94195167cf58575aaf33f3dab 100644 (file)
@@ -3,17 +3,6 @@
 . /lib/functions/uci-defaults.sh
 . /lib/functions/system.sh
 
-ucidef_set_poe() {
-       json_select_object poe
-               json_add_string "budget" "$1"
-               json_select_array ports
-                       for port in $2; do
-                               json_add_string "" "$port"
-                       done
-               json_select ..
-       json_select ..
-}
-
 _filter_port_list_ordered() {
        local ports="$1"
        local excluded="$2"