Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 20:59:40 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r199549 - head/sys/dev/xen/netfront
Message-ID:  <200911192059.nAJKxegM019167@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Nov 19 20:59:40 2009
New Revision: 199549
URL: http://svn.freebsd.org/changeset/base/199549

Log:
  Remove commented out reference to if_watchdog and an assignment of zero to
  if_timer.
  
  Reviewed by:	scottl

Modified:
  head/sys/dev/xen/netfront/netfront.c

Modified: head/sys/dev/xen/netfront/netfront.c
==============================================================================
--- head/sys/dev/xen/netfront/netfront.c	Thu Nov 19 20:57:35 2009	(r199548)
+++ head/sys/dev/xen/netfront/netfront.c	Thu Nov 19 20:59:40 2009	(r199549)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911192059.nAJKxegM019167>