From: Vishwesh M Rudramuni Date: Sun, 16 Jul 2017 20:16:37 +0000 (+0530) Subject: [UDP_Replay] fixing of compiler warning X-Git-Tag: opnfv-5.0.RC1~64^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F91%2F37591%2F1;p=samplevnf.git [UDP_Replay] fixing of compiler warning removes the nb_lcores as its no longer used. Change-Id: I13020585afb6d1e0758f1efc6578740dd3502d72 Signed-off-by: Vishwesh M Rudramuni --- 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 */