[ar71xx] remove 2.6.26 specific stuff
[openwrt/svn-archive/archive.git] / target / linux / ar71xx / patches-2.6.27 / 800-ag71xx_remove_netif_schedule.patch
1 --- a/drivers/net/ag71xx/ag71xx_phy.c
2 +++ b/drivers/net/ag71xx/ag71xx_phy.c
3 @@ -138,12 +138,8 @@ static void ag71xx_phy_link_adjust(struc
4 }
5 }
6
7 - if (phydev->link != ag->link) {
8 - if (phydev->link)
9 - netif_schedule(dev);
10 -
11 + if (phydev->link != ag->link)
12 status_change = 1;
13 - }
14
15 ag->link = phydev->link;
16 ag->duplex = phydev->duplex;