net/ixgbe: remove useless assignment
authorDaniel Mrzyglod <danielx.t.mrzyglod@intel.com>
Thu, 2 Jun 2016 16:01:22 +0000 (18:01 +0200)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 16:31:57 +0000 (18:31 +0200)
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 <danielx.t.mrzyglod@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
drivers/net/ixgbe/ixgbe_rxtx_vec_common.h

index e98fb9d..62b8201 100644 (file)
@@ -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;