Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167884498
D3174.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
638 B
Referenced Files
None
Subscribers
None
D3174.id.diff
View Options
Index: head/sys/dev/e1000/if_em.c
===================================================================
--- head/sys/dev/e1000/if_em.c
+++ head/sys/dev/e1000/if_em.c
@@ -1872,13 +1872,12 @@
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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Aug 26, 6:09 AM (8 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37271530
Default Alt Text
D3174.id.diff (638 B)
Attached To
Mode
D3174: Remove unused txd_saved and initialize txd_upper, txd_lower & txd_used so that they are caught as unused vars in the future.
Attached
Detach File
Event Timeline
Log In to Comment