[openwrt/openwrt] mediatek: filogic: remove redundant code for tuf-ax4200

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 21 09:45:08 PDT 2023


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/1f68baf5f0d86f321fb90453e68bcfde0d45fd08

commit 1f68baf5f0d86f321fb90453e68bcfde0d45fd08
Author: Chukun Pan <amadeus at jmu.edu.cn>
AuthorDate: Wed Apr 5 20:01:50 2023 +0800

    mediatek: filogic: remove redundant code for tuf-ax4200
    
    Remove redundant code in 02_network.
    
    Signed-off-by: Chukun Pan <amadeus at jmu.edu.cn>
---
 target/linux/mediatek/filogic/base-files/etc/board.d/02_network | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
index 982d03deca..6cb9e1478e 100644
--- a/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
+++ b/target/linux/mediatek/filogic/base-files/etc/board.d/02_network
@@ -9,8 +9,7 @@ mediatek_setup_interfaces()
 
 	case $board in
 	asus,tuf-ax4200)
-		CI_UBIPART="UBI_DEV"
-		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" "eth1"
+		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4" eth1
 		;;
 	bananapi,bpi-r3)
 		ucidef_set_interfaces_lan_wan "lan1 lan2 lan3 lan4 sfp2" "eth1 wan"




More information about the lede-commits mailing list