use simple zero initializers
[dpdk.git] / lib / librte_pmd_i40e / i40e_rxtx.c
index 9c7be6f..abe68f4 100644 (file)
@@ -1228,7 +1228,7 @@ i40e_xmit_pkts(void *tx_queue, struct rte_mbuf **tx_pkts, uint16_t nb_pkts)
        uint16_t tx_last;
        uint16_t slen;
        uint64_t buf_dma_addr;
-       union i40e_tx_offload tx_offload = { .data = 0 };
+       union i40e_tx_offload tx_offload = {0};
 
        txq = tx_queue;
        sw_ring = txq->sw_ring;