svn commit: r221571 - head/sys/dev/xl
Pyun YongHyeon
yongari at FreeBSD.org
Sat May 7 02:19:46 UTC 2011
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;
More information about the svn-src-all
mailing list