Commit 381f0517 authored by françois romieu's avatar françois romieu Committed by David S. Miller

r8169: remove useless struct member

Signed-off-by: default avatarFrancois Romieu <romieu@fr.zoreil.com>
Cc: Edward Hsu <edward_hsu@realtek.com.tw>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 8b2d850d
...@@ -479,7 +479,6 @@ struct rtl8169_private { ...@@ -479,7 +479,6 @@ struct rtl8169_private {
u16 intr_event; u16 intr_event;
u16 napi_event; u16 napi_event;
u16 intr_mask; u16 intr_mask;
int phy_auto_nego_reg;
int phy_1000_ctrl_reg; int phy_1000_ctrl_reg;
#ifdef CONFIG_R8169_VLAN #ifdef CONFIG_R8169_VLAN
struct vlan_group *vlgrp; struct vlan_group *vlgrp;
...@@ -908,7 +907,6 @@ static int rtl8169_set_speed_xmii(struct net_device *dev, ...@@ -908,7 +907,6 @@ static int rtl8169_set_speed_xmii(struct net_device *dev,
mdio_write(ioaddr, 0x0e, 0x0000); mdio_write(ioaddr, 0x0e, 0x0000);
} }
tp->phy_auto_nego_reg = auto_nego;
tp->phy_1000_ctrl_reg = giga_ctrl; tp->phy_1000_ctrl_reg = giga_ctrl;
mdio_write(ioaddr, MII_ADVERTISE, auto_nego); mdio_write(ioaddr, MII_ADVERTISE, auto_nego);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment