diff options
author | yongari <yongari@FreeBSD.org> | 2011-05-07 02:19:46 +0000 |
---|---|---|
committer | yongari <yongari@FreeBSD.org> | 2011-05-07 02:19:46 +0000 |
commit | 84665e966a0535560769d1f291871ec4003cd9e9 (patch) | |
tree | 91d643d766a5eed97ce3b9e0fa448e9e738be616 /sys/dev/xl | |
parent | 3a533dcf25ee60b843e4e6c6c10a76fd603629c8 (diff) | |
download | FreeBSD-src-84665e966a0535560769d1f291871ec4003cd9e9.zip FreeBSD-src-84665e966a0535560769d1f291871ec4003cd9e9.tar.gz |
Remove unneeded use of variable status. This should have been done
in r221557.
Diffstat (limited to 'sys/dev/xl')
-rw-r--r-- | sys/dev/xl/if_xl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/xl/if_xl.c b/sys/dev/xl/if_xl.c index 51e01f2..228a3ca 100644 --- a/sys/dev/xl/if_xl.c +++ b/sys/dev/xl/if_xl.c @@ -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; |