net/cxgbe: fix port ID in Rx mbuf
[dpdk.git] / drivers / net / vmxnet3 / vmxnet3_rxtx.c
index deba64b..d745064 100644 (file)
@@ -340,6 +340,9 @@ vmxnet3_tq_tx_complete(vmxnet3_tx_queue_t *txq)
        }
 
        PMD_TX_LOG(DEBUG, "Processed %d tx comps & command descs.", completed);
+
+       /* To avoid compiler warnings when not in DEBUG mode. */
+       RTE_SET_USED(completed);
 }
 
 uint16_t