Commit 7d85b2c8 authored by Kees Cook's avatar Kees Cook Committed by David S. Miller

net: fs_enet: Remove unused timer

Removes unused timer and its old initialization call.

Cc: Pantelis Antoniou <pantelis.antoniou@gmail.com>
Cc: Vitaly Bordug <vbordug@ru.mvista.com>
Cc: linuxppc-dev@lists.ozlabs.org
Cc: netdev@vger.kernel.org
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cac6a8f9
...@@ -1023,8 +1023,6 @@ static int fs_enet_probe(struct platform_device *ofdev) ...@@ -1023,8 +1023,6 @@ static int fs_enet_probe(struct platform_device *ofdev)
ndev->ethtool_ops = &fs_ethtool_ops; ndev->ethtool_ops = &fs_ethtool_ops;
init_timer(&fep->phy_timer_list);
netif_carrier_off(ndev); netif_carrier_off(ndev);
ndev->features |= NETIF_F_SG; ndev->features |= NETIF_F_SG;
......
...@@ -137,7 +137,6 @@ struct fs_enet_private { ...@@ -137,7 +137,6 @@ struct fs_enet_private {
cbd_t __iomem *cur_rx; cbd_t __iomem *cur_rx;
cbd_t __iomem *cur_tx; cbd_t __iomem *cur_tx;
int tx_free; int tx_free;
struct timer_list phy_timer_list;
const struct phy_info *phy; const struct phy_info *phy;
u32 msg_enable; u32 msg_enable;
struct mii_if_info mii_if; struct mii_if_info mii_if;
......
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