Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177660301
D59545.1794971338.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
637 B
Referenced Files
None
Subscribers
None
D59545.1794971338.diff
View Options
diff --git a/sys/dev/cxgb/cxgb_sge.c b/sys/dev/cxgb/cxgb_sge.c
--- a/sys/dev/cxgb/cxgb_sge.c
+++ b/sys/dev/cxgb/cxgb_sge.c
@@ -1406,7 +1406,7 @@
if (m0->m_nextpkt != NULL) {
struct cpl_tx_pkt_batch *cpl_batch = (struct cpl_tx_pkt_batch *)txd;
- int i, fidx;
+ int i;
if (nsegs > 7)
panic("trying to coalesce %d packets in to one WR", nsegs);
@@ -1414,7 +1414,7 @@
wrp = (struct work_request_hdr *)txd;
flits = nsegs*2 + 1;
- for (fidx = 1, i = 0; i < nsegs; i++, fidx += 2) {
+ for (i = 0; i < nsegs; i++) {
struct cpl_tx_pkt_batch_entry *cbe;
uint64_t flit;
uint32_t *hflit = (uint32_t *)&flit;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 18, 3:08 AM (9 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38661374
Default Alt Text
D59545.1794971338.diff (637 B)
Attached To
Mode
D59545: cxgb(4): remove unused variable
Attached
Detach File
Event Timeline