Re: [PATCH] phy: Elimination the forced speed reduction algorithm.

From: David Miller
Date: Fri Mar 15 2013 - 08:35:17 EST


From: Kirill Kapranov <kapranoff@xxxxxxxx>
Date: Thu, 14 Mar 2013 14:40:52 +0400

> @@ -867,7 +821,6 @@ void phy_state_machine(struct work_struct *work)
> netif_carrier_on(phydev->attached_dev);
> } else {
> if (0 == phydev->link_timeout--) {
> - phy_force_reduction(phydev);
> needs_aneg = 1;
> }

This is not a single-statement basic block, and therefore you
should remove the surrounding braces.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/