From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id 9433511F5 for ; Mon, 17 Apr 2017 18:57:44 +0200 (CEST) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Apr 2017 09:57:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.37,215,1488873600"; d="scan'208";a="846892749" Received: from imail001.iil.intel.com ([10.184.207.12]) by FMSMGA003.fm.intel.com with ESMTP; 17 Apr 2017 09:57:42 -0700 Received: from desku.iil.intel.com ([143.185.141.169]) by imail001.iil.intel.com with ESMTP id v3HGvejS019581; Mon, 17 Apr 2017 19:57:40 +0300 From: Rami Rosen To: dev@dpdk.org Cc: Rami Rosen Date: Mon, 17 Apr 2017 18:56:30 -0400 Message-Id: <20170417225630.19607-1-rami.rosen@intel.com> X-Mailer: git-send-email 2.9.3 Subject: [dpdk-dev] [PATCH] app/testpmd: consolidate two duplicate ifdefs into one. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2017 16:57:45 -0000 Cnsolidate the duplicate #ifdef RTE_TEST_PMD_RECORD_CORE_CYCLES into one #ifdef. Signed-off-by: Rami Rosen --- app/test-pmd/rxonly.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/test-pmd/rxonly.c b/app/test-pmd/rxonly.c index dcc8346..dcd1d85 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 -- 2.9.3