From 199ecfa6c9f09817003e2ff75277d8224603771e Mon Sep 17 00:00:00 2001 From: Michal Koziel Date: Mon, 28 Dec 2015 15:19:32 +0100 Subject: [PATCH] Removed debugging code Removed what seems to be debugging code forgotten before committing. Phy mode should come from the device tree blob. --- arch/arm/mach-socfpga/socfpga.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-socfpga/socfpga.c b/arch/arm/mach-socfpga/socfpga.c index c6d7eb9ae6..6440961a51 100644 --- a/arch/arm/mach-socfpga/socfpga.c +++ b/arch/arm/mach-socfpga/socfpga.c @@ -339,7 +339,6 @@ static int stmmac_plat_init(struct platform_device *pdev) phymode = of_get_phy_mode(pdev->dev.of_node); - phymode = PHY_INTERFACE_MODE_MII; //!!! switch (phymode) { case PHY_INTERFACE_MODE_RGMII: case PHY_INTERFACE_MODE_RGMII_ID: