Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1023,8 +1023,6 @@ static int fs_enet_probe(struct platform_device *ofdev)

	ndev->ethtool_ops = &fs_ethtool_ops;

	init_timer(&fep->phy_timer_list);

	netif_carrier_off(ndev);

	ndev->features |= NETIF_F_SG;
+0 −1
Original line number Diff line number Diff line
@@ -137,7 +137,6 @@ struct fs_enet_private {
	cbd_t __iomem *cur_rx;
	cbd_t __iomem *cur_tx;
	int tx_free;
	struct timer_list phy_timer_list;
	const struct phy_info *phy;
	u32 msg_enable;
	struct mii_if_info mii_if;