{
        unsigned int sent_frames = 0, total_bytes = 0;
        struct i40e_tx_desc *tx_desc = NULL;
-       struct i40e_tx_buffer *tx_bi;
        struct xdp_desc desc;
        dma_addr_t dma;
 
                xsk_buff_raw_dma_sync_for_device(xdp_ring->xsk_pool, dma,
                                                 desc.len);
 
-               tx_bi = &xdp_ring->tx_bi[xdp_ring->next_to_use];
-               tx_bi->bytecount = desc.len;
-
                tx_desc = I40E_TX_DESC(xdp_ring, xdp_ring->next_to_use);
                tx_desc->buffer_addr = cpu_to_le64(dma);
                tx_desc->cmd_type_offset_bsz =
                                   0, desc.len, 0);
 
                sent_frames++;
-               total_bytes += tx_bi->bytecount;
+               total_bytes += desc.len;
 
                xdp_ring->next_to_use++;
                if (xdp_ring->next_to_use == xdp_ring->count)