Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F175519152
D33306.id99603.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
929 B
Referenced Files
None
Subscribers
None
D33306.id99603.diff
View Options
Index: usr.sbin/bhyve/pci_e82545.c
===================================================================
--- usr.sbin/bhyve/pci_e82545.c
+++ usr.sbin/bhyve/pci_e82545.c
@@ -1084,7 +1084,7 @@
struct ck_info ckinfo[2];
struct iovec *iov;
union e1000_tx_udesc *dsc;
- int desc, dtype, len, ntype, iovcnt, tlen, tcp, tso;
+ int desc, dtype, len, ntype, iovcnt, tcp, tso;
int mss, paylen, seg, tiovcnt, left, now, nleft, nnow, pv, pvoff;
unsigned hdrlen, vlen;
uint32_t tcpsum, tcpseq;
@@ -1092,7 +1092,6 @@
ckinfo[0].ck_valid = ckinfo[1].ck_valid = 0;
iovcnt = 0;
- tlen = 0;
ntype = 0;
tso = 0;
ohead = head;
@@ -1150,7 +1149,6 @@
if ((dsc->td.lower.data & E1000_TXD_CMD_EOP) != 0 &&
(dsc->td.lower.data & E1000_TXD_CMD_IFCS) == 0)
len -= 2;
- tlen += len;
if (iovcnt < I82545_MAX_TXSEGS) {
iov[iovcnt].iov_base = paddr_guest2host(
sc->esc_ctx, dsc->td.buffer_addr, len);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 12, 10:05 AM (8 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40668953
Default Alt Text
D33306.id99603.diff (929 B)
Attached To
Mode
D33306: bhyve: fix -Wunused-but-set-variable warning
Attached
Detach File
Event Timeline
Log In to Comment