From: Rami Rosen Date: Mon, 17 Apr 2017 22:56:30 +0000 (-0400) Subject: app/testpmd: consolidate duplicate ifdefs into one X-Git-Tag: spdx-start~3430 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=0f58f01393006ac60969902e5843540b5a17bfe3;p=dpdk.git app/testpmd: consolidate duplicate ifdefs into one Cnsolidate the duplicate #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES into one #ifdef. Signed-off-by: Rami Rosen --- diff --git a/app/test-pmd/rxonly.c b/app/test-pmd/rxonly.c index dcc83465db..dcd1d85c99 100644 --- a/app/test-pmd/rxonly.c +++ b/app/test-pmd/rxonly.c @@ -101,9 +101,7 @@ pkt_burst_receive(struct fwd_stream *fs) uint64_t start_tsc; uint64_t end_tsc; uint64_t core_cycles; -#endif -#ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES start_tsc = rte_rdtsc(); #endif