From 527ec2af59b3979ed2e26fe0d945a9e4ca642603 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 3 Dec 2015 23:13:00 +0000 Subject: [PATCH] all: remove dummy ucidef_set_interface_loopback() from board.d Signed-off-by: Jo-Philipp Wich SVN-Revision: 47744 --- package/base-files/files/lib/functions/uci-defaults-new.sh | 6 ------ target/linux/ar71xx/base-files/etc/board.d/02_network | 2 -- target/linux/bcm53xx/base-files/etc/board.d/02_network | 2 -- target/linux/brcm2708/base-files/etc/board.d/02_network | 2 -- target/linux/ipq806x/base-files/etc/board.d/02_network | 2 -- target/linux/mpc85xx/base-files/etc/board.d/02_network | 2 -- target/linux/mvebu/base-files/etc/board.d/02_network | 2 -- target/linux/ramips/base-files/etc/board.d/02_network | 2 -- 8 files changed, 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 b350549b3441..919aac88d364 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 dcf0812dbfbe..296626b42223 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 736cdac94a52..4402861b04bf 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 e85eb11f8851..a05c3d5956c9 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 ffa3b28d149a..b0542302acce 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 f99ce4c20eb3..ddb67a699afc 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 20cc3f5ccf88..ef30a2214de7 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 f2c0edb576b0..aee0e724e303 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|\ -- 2.30.2