aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-03 23:13:00 +0000
committerJo-Philipp Wich <jow@openwrt.org>2015-12-03 23:13:00 +0000
commit527ec2af59b3979ed2e26fe0d945a9e4ca642603 (patch)
tree4aaaf5cd309b1cfa01a58cd24aba408c3ce3179f
parent3348308afd5ec0cae23b4970d7d1af79b0bbb64f (diff)
downloadupstream-527ec2af59b3979ed2e26fe0d945a9e4ca642603.tar.gz
upstream-527ec2af59b3979ed2e26fe0d945a9e4ca642603.tar.bz2
upstream-527ec2af59b3979ed2e26fe0d945a9e4ca642603.zip
all: remove dummy ucidef_set_interface_loopback() from board.d
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> SVN-Revision: 47744
-rwxr-xr-xpackage/base-files/files/lib/functions/uci-defaults-new.sh6
-rwxr-xr-xtarget/linux/ar71xx/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/bcm53xx/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/brcm2708/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/ipq806x/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/mpc85xx/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/mvebu/base-files/etc/board.d/02_network2
-rwxr-xr-xtarget/linux/ramips/base-files/etc/board.d/02_network2
8 files changed, 0 insertions, 20 deletions
diff --git a/package/base-files/files/lib/functions/uci-defaults-new.sh b/package/base-files/files/lib/functions/uci-defaults-new.sh
index b350549b34..919aac88d3 100755
--- a/package/base-files/files/lib/functions/uci-defaults-new.sh
+++ b/package/base-files/files/lib/functions/uci-defaults-new.sh
@@ -67,12 +67,6 @@ ucidef_set_model_name() {
json_select ..
}
-ucidef_set_interface_loopback()
-{
- # stub
- local a="$1"
-}
-
ucidef_set_interface_lan() {
json_select_object network
_ucidef_set_interface lan "$@"
diff --git a/target/linux/ar71xx/base-files/etc/board.d/02_network b/target/linux/ar71xx/base-files/etc/board.d/02_network
index dcf0812dbf..296626b422 100755
--- a/target/linux/ar71xx/base-files/etc/board.d/02_network
+++ b/target/linux/ar71xx/base-files/etc/board.d/02_network
@@ -9,8 +9,6 @@
board_config_update
-ucidef_set_interface_loopback
-
board=$(ar71xx_board_name)
diff --git a/target/linux/bcm53xx/base-files/etc/board.d/02_network b/target/linux/bcm53xx/base-files/etc/board.d/02_network
index 736cdac94a..4402861b04 100755
--- a/target/linux/bcm53xx/base-files/etc/board.d/02_network
+++ b/target/linux/bcm53xx/base-files/etc/board.d/02_network
@@ -27,8 +27,6 @@ netgear,r8000)
;;
esac
-ucidef_set_interface_loopback
-
# Workaround for devices using CPU port 8 (connected to eth2)
case "$board" in
netgear,r8000)
diff --git a/target/linux/brcm2708/base-files/etc/board.d/02_network b/target/linux/brcm2708/base-files/etc/board.d/02_network
index e85eb11f88..a05c3d5956 100755
--- a/target/linux/brcm2708/base-files/etc/board.d/02_network
+++ b/target/linux/brcm2708/base-files/etc/board.d/02_network
@@ -8,8 +8,6 @@
board_config_update
-ucidef_set_interface_loopback
-
board=$(brcm2708_board_name)
case "$board" in
diff --git a/target/linux/ipq806x/base-files/etc/board.d/02_network b/target/linux/ipq806x/base-files/etc/board.d/02_network
index ffa3b28d14..b0542302ac 100755
--- a/target/linux/ipq806x/base-files/etc/board.d/02_network
+++ b/target/linux/ipq806x/base-files/etc/board.d/02_network
@@ -9,8 +9,6 @@
board_config_update
-ucidef_set_interface_loopback
-
board=$(ipq806x_board_name)
case "$board" in
diff --git a/target/linux/mpc85xx/base-files/etc/board.d/02_network b/target/linux/mpc85xx/base-files/etc/board.d/02_network
index f99ce4c20e..ddb67a699a 100755
--- a/target/linux/mpc85xx/base-files/etc/board.d/02_network
+++ b/target/linux/mpc85xx/base-files/etc/board.d/02_network
@@ -8,8 +8,6 @@
board_config_update
-ucidef_set_interface_loopback
-
board=$(mpc85xx_board_name)
case "$board" in
diff --git a/target/linux/mvebu/base-files/etc/board.d/02_network b/target/linux/mvebu/base-files/etc/board.d/02_network
index 20cc3f5ccf..ef30a2214d 100755
--- a/target/linux/mvebu/base-files/etc/board.d/02_network
+++ b/target/linux/mvebu/base-files/etc/board.d/02_network
@@ -8,8 +8,6 @@
board_config_update
-ucidef_set_interface_loopback
-
board=$(mvebu_board_name)
case "$board" in
diff --git a/target/linux/ramips/base-files/etc/board.d/02_network b/target/linux/ramips/base-files/etc/board.d/02_network
index f2c0edb576..aee0e724e3 100755
--- a/target/linux/ramips/base-files/etc/board.d/02_network
+++ b/target/linux/ramips/base-files/etc/board.d/02_network
@@ -32,8 +32,6 @@ ramips_setup_interfaces()
{
local board="$1"
- ucidef_set_interface_loopback
-
case $board in
3g150b|\
3g300m|\