From: Helin Zhang Date: Thu, 11 Jun 2015 07:03:54 +0000 (+0800) Subject: ixgbe: remove a discarded source line X-Git-Tag: spdx-start~8867 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=61e4d90f273936d56c56a2ad155fd50ebe98b5fd;p=dpdk.git ixgbe: remove a discarded source line Little endian to CPU order conversion had been added for reading vlan tag from RX descriptor, while its original source line was forgotten to delete. That's a discarded source line and should be deleted. Fixes: 23fcffe8ffac ("ixgbe: fix id and hash with flow director") Signed-off-by: Helin Zhang Acked-by: Jingjing Wu --- diff --git a/drivers/net/ixgbe/ixgbe_rxtx.c b/drivers/net/ixgbe/ixgbe_rxtx.c index f5e1ebb386..b1db57fe9f 100644 --- a/drivers/net/ixgbe/ixgbe_rxtx.c +++ b/drivers/net/ixgbe/ixgbe_rxtx.c @@ -985,7 +985,6 @@ ixgbe_rx_scan_hw_ring(struct ixgbe_rx_queue *rxq) pkt_len = (uint16_t)(rxdp[j].wb.upper.length - rxq->crc_len); mb->data_len = pkt_len; mb->pkt_len = pkt_len; - mb->vlan_tci = rxdp[j].wb.upper.vlan; mb->vlan_tci = rte_le_to_cpu_16(rxdp[j].wb.upper.vlan); /* convert descriptor fields to rte mbuf flags */