summaryrefslogtreecommitdiffstats
path: root/drivers/net/r8169.c
diff options
context:
space:
mode:
authorfrançois romieu <romieu@fr.zoreil.com>2009-05-14 13:45:04 +0200
committerDavid S. Miller <davem@davemloft.net>2009-05-19 23:31:27 +0200
commit381f05172bdca076390abd84813b09ea423ae8a9 (patch)
tree72df08aea033d929b0e11b45d541ab6fdacc4cca /drivers/net/r8169.c
parentppp: unset IFF_XMIT_DST_RELEASE in ppp_setup() (diff)
downloadlinux-381f05172bdca076390abd84813b09ea423ae8a9.tar.xz
linux-381f05172bdca076390abd84813b09ea423ae8a9.zip
r8169: remove useless struct member
Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Cc: Edward Hsu <edward_hsu@realtek.com.tw> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/r8169.c2
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 {
u16 intr_event;
u16 napi_event;
u16 intr_mask;
- int phy_auto_nego_reg;
int phy_1000_ctrl_reg;
#ifdef CONFIG_R8169_VLAN
struct vlan_group *vlgrp;
@@ -908,7 +907,6 @@ static int rtl8169_set_speed_xmii(struct net_device *dev,
mdio_write(ioaddr, 0x0e, 0x0000);
}
- tp->phy_auto_nego_reg = auto_nego;
tp->phy_1000_ctrl_reg = giga_ctrl;
mdio_write(ioaddr, MII_ADVERTISE, auto_nego);