Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 May 2011 02:19:46 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r221571 - head/sys/dev/xl
Message-ID:  <201105070219.p472JkSV076487@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Sat May  7 02:19:46 2011
New Revision: 221571
URL: http://svn.freebsd.org/changeset/base/221571

Log:
  Remove unneeded use of variable status. This should have been done
  in r221557.

Modified:
  head/sys/dev/xl/if_xl.c

Modified: head/sys/dev/xl/if_xl.c
==============================================================================
--- head/sys/dev/xl/if_xl.c	Sat May  7 02:00:35 2011	(r221570)
+++ head/sys/dev/xl/if_xl.c	Sat May  7 02:19:46 2011	(r221571)
@@ -2564,7 +2564,6 @@ xl_start_locked(struct ifnet *ifp)
 	struct mbuf		*m_head;
 	struct xl_chain		*prev = NULL, *cur_tx = NULL, *start_tx;
 	struct xl_chain		*prev_tx;
-	u_int32_t		status;
 	int			error;
 
 	XL_LOCK_ASSERT(sc);
@@ -2651,7 +2650,6 @@ xl_start_locked(struct ifnet *ifp)
 		sc->xl_cdata.xl_tx_tail->xl_next = start_tx;
 		sc->xl_cdata.xl_tx_tail->xl_ptr->xl_next =
 		    htole32(start_tx->xl_phys);
-		status = sc->xl_cdata.xl_tx_tail->xl_ptr->xl_status;
 		sc->xl_cdata.xl_tx_tail->xl_ptr->xl_status &=
 		    htole32(~XL_TXSTAT_DL_INTR);
 		sc->xl_cdata.xl_tx_tail = cur_tx;



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