From: Daniel Mrzyglod Date: Thu, 2 Jun 2016 16:01:22 +0000 (+0200) Subject: net/ixgbe: remove useless assignment X-Git-Tag: spdx-start~6353 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b47b107fd0ff0757ee87b044bff5d6b09c18deed;p=dpdk.git net/ixgbe: remove useless assignment The "end" variable is assigned and then two lines later is assigned a different value, making the first assignment useless. Remove it. Coverity issue: 13335 Fixes: cf4b4708a88a ("ixgbe: improve slow-path perf with vector scattered Rx") Signed-off-by: Daniel Mrzyglod Acked-by: Bruce Richardson --- diff --git a/drivers/net/ixgbe/ixgbe_rxtx_vec_common.h b/drivers/net/ixgbe/ixgbe_rxtx_vec_common.h index e98fb9dec4..62b82013f6 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx_vec_common.h +++ b/drivers/net/ixgbe/ixgbe_rxtx_vec_common.h @@ -77,7 +77,6 @@ reassemble_packets(struct ixgbe_rx_queue *rxq, struct rte_mbuf **rx_bufs, end->data_len); secondlast->next = NULL; rte_pktmbuf_free_seg(end); - end = secondlast; } pkts[pkt_idx++] = start; start = end = NULL;