diff options
author | jhb <jhb@FreeBSD.org> | 2009-11-19 20:59:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-11-19 20:59:40 +0000 |
commit | 969bfd018e33576609611e2d8fa194197db51f4b (patch) | |
tree | f3eb728a1c248ac3d4d8005e2eb387f393cc42d7 /sys/dev/xen | |
parent | 0e9ac8ec16c6dcb15bba4fa170a7315f5de9131a (diff) | |
download | FreeBSD-src-969bfd018e33576609611e2d8fa194197db51f4b.zip FreeBSD-src-969bfd018e33576609611e2d8fa194197db51f4b.tar.gz |
Remove commented out reference to if_watchdog and an assignment of zero to
if_timer.
Reviewed by: scottl
Diffstat (limited to 'sys/dev/xen')
-rw-r--r-- | sys/dev/xen/netfront/netfront.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c index 571ecd0..cb23ce1 100644 --- a/sys/dev/xen/netfront/netfront.c +++ b/sys/dev/xen/netfront/netfront.c @@ -1056,7 +1056,6 @@ xn_txeof(struct netfront_info *np) return; ifp = np->xn_ifp; - ifp->if_timer = 0; do { prod = np->tx.sring->rsp_prod; @@ -1948,9 +1947,6 @@ create_netdev(device_t dev) ifp->if_ioctl = xn_ioctl; ifp->if_output = ether_output; ifp->if_start = xn_start; -#ifdef notyet - ifp->if_watchdog = xn_watchdog; -#endif ifp->if_init = xn_ifinit; ifp->if_mtu = ETHERMTU; ifp->if_snd.ifq_maxlen = NET_TX_RING_SIZE - 1; |