Page MenuHomeFreeBSD

D35833.diff
No OneTemporary

D35833.diff

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
@@ -1287,7 +1287,6 @@
{
struct work_request_hdr *wrp = (struct work_request_hdr *)txd;
- struct tx_sw_desc *txsd = &txq->sdesc[txqs->pidx];
if (__predict_true(ndesc == 1)) {
set_wr_hdr(wrp, htonl(F_WR_SOP | F_WR_EOP | V_WR_DATATYPE(1) |
@@ -1318,12 +1317,10 @@
fp += avail;
txd++;
- txsd++;
if (++txqs->pidx == txq->size) {
txqs->pidx = 0;
txqs->gen ^= 1;
txd = txq->desc;
- txsd = txq->sdesc;
}
/*

File Metadata

Mime Type
text/plain
Expires
Sun, Apr 27, 8:34 PM (16 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17821661
Default Alt Text
D35833.diff (583 B)

Event Timeline