From: Cunming Liang Date: Thu, 26 Jun 2014 06:53:31 +0000 (+0800) Subject: ixgbe: fix build with IEEE1588 enabled X-Git-Tag: spdx-start~10598 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=040e9a01a0b4d179d409f8a7a24d2b7193b9ce8a;p=dpdk.git ixgbe: fix build with IEEE1588 enabled Vectorized Rx cannot be enabled if RTE_LIBRTE_IEEE1588=y. So variable dev is not used in this case. Signed-off-by: Cunming Liang Acked-by: Bruce Richardson Acked-by: Yong Liu Tested-by: Zhaochen Zhan --- diff --git a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c index b8721dd352..74d1b3602f 100644 --- a/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c +++ b/lib/librte_pmd_ixgbe/ixgbe_rxtx_vec.c @@ -700,6 +700,7 @@ int ixgbe_rx_vec_condition_check(struct rte_eth_dev *dev) return 0; #else + RTE_SET_USED(dev); return -1; #endif }