From: Andrew Rybchenko Date: Thu, 25 May 2017 15:46:32 +0000 (+0100) Subject: examples/multi_process: remove unused variable X-Git-Tag: spdx-start~3191 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d432af7b5b8f3866f5f1954beeafb350107a9c17;p=dpdk.git examples/multi_process: remove unused variable Fix broken build with -Werror=unused-but-set-variable Signed-off-by: Andrew Rybchenko --- diff --git a/examples/multi_process/l2fwd_fork/main.c b/examples/multi_process/l2fwd_fork/main.c index d922522fdd..59c102434a 100644 --- a/examples/multi_process/l2fwd_fork/main.c +++ b/examples/multi_process/l2fwd_fork/main.c @@ -937,7 +937,6 @@ main(int argc, char **argv) unsigned rx_lcore_id; unsigned nb_ports_in_mask = 0; unsigned i; - int flags = 0; uint64_t prev_tsc, diff_tsc, cur_tsc, timer_tsc; /* Save cpu_affinity first, restore it in case it's floating process option */ @@ -987,7 +986,6 @@ main(int argc, char **argv) if ((l2fwd_enabled_port_mask & (1 << portid)) == 0) continue; char buf_name[RTE_MEMPOOL_NAMESIZE]; - flags = MEMPOOL_F_SP_PUT | MEMPOOL_F_SC_GET; snprintf(buf_name, RTE_MEMPOOL_NAMESIZE, MBUF_NAME, portid); l2fwd_pktmbuf_pool[portid] = rte_pktmbuf_pool_create(buf_name, NB_MBUF, 32,