diff options
-rw-r--r-- | drivers/net/r8169.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index c812e16b7ab4..b0573146934b 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c | |||
@@ -479,7 +479,6 @@ struct rtl8169_private { | |||
479 | u16 intr_event; | 479 | u16 intr_event; |
480 | u16 napi_event; | 480 | u16 napi_event; |
481 | u16 intr_mask; | 481 | u16 intr_mask; |
482 | int phy_auto_nego_reg; | ||
483 | int phy_1000_ctrl_reg; | 482 | int phy_1000_ctrl_reg; |
484 | #ifdef CONFIG_R8169_VLAN | 483 | #ifdef CONFIG_R8169_VLAN |
485 | struct vlan_group *vlgrp; | 484 | struct vlan_group *vlgrp; |
@@ -908,7 +907,6 @@ static int rtl8169_set_speed_xmii(struct net_device *dev, | |||
908 | mdio_write(ioaddr, 0x0e, 0x0000); | 907 | mdio_write(ioaddr, 0x0e, 0x0000); |
909 | } | 908 | } |
910 | 909 | ||
911 | tp->phy_auto_nego_reg = auto_nego; | ||
912 | tp->phy_1000_ctrl_reg = giga_ctrl; | 910 | tp->phy_1000_ctrl_reg = giga_ctrl; |
913 | 911 | ||
914 | mdio_write(ioaddr, MII_ADVERTISE, auto_nego); | 912 | mdio_write(ioaddr, MII_ADVERTISE, auto_nego); |