[][openwrt][mt7988][eth][Fix coverity issue for Ethernet driver]

[Description]
Add Ethernet driver changes to fix coverity issue.

If without this patch, the procedure of port link setting
might run into undefined behavior due to uninitialized
variable.

[Release-log]
N/A


Change-Id: I2134e038742a3028112ce48544d6058bb302bb73
Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/7928489
diff --git a/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c b/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
index b1887fc..5bb513e 100644
--- a/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
+++ b/target/linux/mediatek/files-5.4/drivers/net/ethernet/mediatek/mtk_eth_soc.c
@@ -927,7 +927,7 @@
 
 static void mtk_pse_port_link_set(struct mtk_mac *mac, bool up)
 {
-	u32 fe_glo_cfg, val;
+	u32 fe_glo_cfg, val = 0;
 
 	fe_glo_cfg = mtk_r32(mac->hw, MTK_FE_GLO_CFG(mac->id));
 	switch (mac->id) {