diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2022-04-08 00:01:27 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-08 00:01:27 +0000 |
| commit | 885db9301ef9dfe420eff3c09aca497b7fc60924 (patch) | |
| tree | b33a2e7f3a8d3074d08b6994ade2641710140fe9 /sys/dev/qlnx | |
| parent | 3415775dfa428da1fe63bffce0c26cfaa92076b8 (diff) | |
Diffstat (limited to 'sys/dev/qlnx')
| -rw-r--r-- | sys/dev/qlnx/qlnxe/qlnx_os.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/qlnx/qlnxe/qlnx_os.c b/sys/dev/qlnx/qlnxe/qlnx_os.c index 4c1a55064a68..9e172e27ab35 100644 --- a/sys/dev/qlnx/qlnxe/qlnx_os.c +++ b/sys/dev/qlnx/qlnxe/qlnx_os.c @@ -2909,7 +2909,7 @@ qlnx_free_tx_pkt(qlnx_host_t *ha, struct qlnx_fastpath *fp, struct mbuf *mp; bus_dmamap_t map; int i; - struct eth_tx_bd *tx_data_bd; +// struct eth_tx_bd *tx_data_bd; struct eth_tx_1st_bd *first_bd; int nbds = 0; @@ -2959,7 +2959,7 @@ qlnx_free_tx_pkt(qlnx_host_t *ha, struct qlnx_fastpath *fp, // BD_SET_UNMAP_ADDR_LEN(first_bd, 0, 0); for (i = 1; i < nbds; i++) { - tx_data_bd = ecore_chain_consume(&txq->tx_pbl); + /* tx_data_bd = */ ecore_chain_consume(&txq->tx_pbl); // BD_SET_UNMAP_ADDR_LEN(tx_data_bd, 0, 0); } txq->sw_tx_ring[idx].flags = 0; |
