[PATCH 5.10 207/286] net: ethernet: mtk_eth_soc: remove duplicate if statements