Remove unused txd_saved.
Intialize txd_upper, txd_lower and txd_used at declaration. Differential Revision: D3174 Reviewed by: erj hiren MFC after: 2 weeks Sponsored by: Limelight Networks
This commit is contained in:
parent
6195b24a79
commit
a82cd51680
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=285879
@ -1872,13 +1872,12 @@ em_xmit(struct tx_ring *txr, struct mbuf **m_headp)
|
||||
struct ether_header *eh;
|
||||
struct ip *ip = NULL;
|
||||
struct tcphdr *tp = NULL;
|
||||
u32 txd_upper, txd_lower, txd_used, txd_saved;
|
||||
u32 txd_upper = 0, txd_lower = 0, txd_used = 0;
|
||||
int ip_off, poff;
|
||||
int nsegs, i, j, first, last = 0;
|
||||
int error, do_tso, tso_desc = 0, remap = 1;
|
||||
|
||||
m_head = *m_headp;
|
||||
txd_upper = txd_lower = txd_used = txd_saved = 0;
|
||||
do_tso = ((m_head->m_pkthdr.csum_flags & CSUM_TSO) != 0);
|
||||
ip_off = poff = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user