sfc: Do not read STAT1.FAULT in efx_mdio_check_mmd()
[firefly-linux-kernel-4.4.55.git] / drivers / net / sfc / tenxpress.c
index f102912eba910552791a5199ae833bd8dc35706a..581911f70441db72f07ef7ea2ae6f2153920f048 100644 (file)
@@ -196,7 +196,7 @@ static int tenxpress_phy_init(struct efx_nic *efx)
                if (rc < 0)
                        return rc;
 
-               rc = efx_mdio_check_mmds(efx, TENXPRESS_REQUIRED_DEVS, 0);
+               rc = efx_mdio_check_mmds(efx, TENXPRESS_REQUIRED_DEVS);
                if (rc < 0)
                        return rc;
        }