kernel/drivers/net/ethernet/stmicro/stmmac/stmmac_platform.c
.. .. @@ -469,14 +469,6 @@ 469 469 plat->pmt = 1; 470 470 } 471 471 472 - if (of_device_is_compatible(np, "snps,dwmac-3.40a")) {473 - plat->has_gmac = 1;474 - plat->enh_desc = 1;475 - plat->tx_coe = 1;476 - plat->bugged_jumbo = 1;477 - plat->pmt = 1;478 - }479 -480 472 if (of_device_is_compatible(np, "snps,dwmac-4.00") || 481 473 of_device_is_compatible(np, "snps,dwmac-4.10a") || 482 474 of_device_is_compatible(np, "snps,dwmac-4.20a")) {