Skip to content

Commit

Permalink
lan78xx: remove unnecessary code
Browse files Browse the repository at this point in the history
It is not required after commit cd772de
("phy: keep pause flags in phy driver features")

Signed-off-by: Woojung Huh <woojung.huh@microchip.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Woojung.Huh@microchip.com authored and David S. Miller committed Feb 29, 2016
1 parent 87177ba commit e270b2d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions drivers/net/usb/lan78xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1623,12 +1623,7 @@ static int lan78xx_phy_init(struct lan78xx_net *dev)

/* MAC doesn't support 1000T Half */
phydev->supported &= ~SUPPORTED_1000baseT_Half;
phydev->supported |= (SUPPORTED_10baseT_Half |
SUPPORTED_10baseT_Full |
SUPPORTED_100baseT_Half |
SUPPORTED_100baseT_Full |
SUPPORTED_1000baseT_Full |
SUPPORTED_Pause | SUPPORTED_Asym_Pause);

genphy_config_aneg(phydev);

phy_start(phydev);
Expand Down

0 comments on commit e270b2d

Please sign in to comment.