diff options
| author | Kees Cook <[email protected]> | 2017-10-17 00:29:39 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-18 11:40:27 +0000 |
| commit | 7d85b2c8d1ca09040e16a3cd7f019d6a9ddd22d7 (patch) | |
| tree | f833b406c4214894ccfce1a2bb91c137160cdacd /drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | |
| parent | net/xen-netback: Convert timers to use timer_setup() (diff) | |
| download | kernel-7d85b2c8d1ca09040e16a3cd7f019d6a9ddd22d7.tar.gz kernel-7d85b2c8d1ca09040e16a3cd7f019d6a9ddd22d7.zip | |
net: fs_enet: Remove unused timer
Removes unused timer and its old initialization call.
Cc: Pantelis Antoniou <[email protected]>
Cc: Vitaly Bordug <[email protected]>
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Kees Cook <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c')
| -rw-r--r-- | drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c index 753259091b22..7892f2f0c6b5 100644 --- a/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c +++ b/drivers/net/ethernet/freescale/fs_enet/fs_enet-main.c @@ -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; |
