app/testpmd: remove redundant timer update
authorReshma Pattan <reshma.pattan@intel.com>
Fri, 15 Jul 2016 09:19:10 +0000 (10:19 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 15 Jul 2016 21:40:09 +0000 (23:40 +0200)
commit0e3d2a9efa4dcfd775140f724abe113a04df68e4
treeb6b611d214955d4bbadd8fcaec804dc827fb2427
parente3725e7f5571a8129d8b2068225ef2654a5ca2ef
app/testpmd: remove redundant timer update

Inside flush_fwd_rx_queues removed redundant prev_tsc update with cur_tsc,
as prev_tsc value is always updated with rte_rdtsc() in for loop.

Coverity issue: 127797
Fixes: f487715f36f5 ("app/testpmd: add timeout in Rx queue flushing")

Signed-off-by: Reshma Pattan <reshma.pattan@intel.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
app/test-pmd/testpmd.c