summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDeepak S <deepak.s@linux.intel.com>2017-07-17 04:27:05 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-07-17 04:27:05 +0000
commitcb94e0036256c6a3fb0aadb682a04d8ad30ddd2a (patch)
tree8ac4970ff3d8393eceee73ecdcf5bcb5ecd6e66b
parent27c68de1ca5795173e96e55c161c0c9572d32626 (diff)
parent3d908d389e85ebb27b2b1ed41d6010959aa9f55c (diff)
Merge "[UDP_Replay] fixing of compiler warning"
-rw-r--r--VNFs/UDP_Replay/main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/VNFs/UDP_Replay/main.c b/VNFs/UDP_Replay/main.c
index e6bc8aa3..1b37c181 100644
--- a/VNFs/UDP_Replay/main.c
+++ b/VNFs/UDP_Replay/main.c
@@ -2890,7 +2890,7 @@ main(int argc, char **argv)
int ret;
unsigned nb_ports;
unsigned lcore_id;
- uint32_t n_tx_queue, nb_lcores;
+ uint32_t n_tx_queue;
uint8_t portid, nb_rx_queue;
struct cmdline *cl;
uint32_t size;
@@ -2927,8 +2927,6 @@ main(int argc, char **argv)
if (check_port_config(nb_ports) < 0)
rte_exit(EXIT_FAILURE, "check_port_config failed\n");
- nb_lcores = rte_lcore_count();
-
/*
*Configuring port_config_t structure for interface manager initialization
*/