[01/10] example: tm: remove unused code

Message ID 1464219423-14977-2-git-send-email-bill.fischofer@linaro.org
State Superseded
Headers show

Commit Message

Bill Fischofer May 25, 2016, 11:36 p.m.
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org>
---
 example/traffic_mgmt/odp_traffic_mgmt.c | 2 --
 1 file changed, 2 deletions(-)

Patch

diff --git a/example/traffic_mgmt/odp_traffic_mgmt.c b/example/traffic_mgmt/odp_traffic_mgmt.c
index 1a1c652..9edf92e 100644
--- a/example/traffic_mgmt/odp_traffic_mgmt.c
+++ b/example/traffic_mgmt/odp_traffic_mgmt.c
@@ -646,8 +646,6 @@  static int traffic_generator(uint32_t pkts_to_send)
 		}
 
 		odp_atomic_inc_u32(&atomic_pkts_into_tm);
-		pkts_into_tm = odp_atomic_load_u32(&atomic_pkts_into_tm);
-		pkts_from_tm = odp_atomic_load_u32(&atomic_pkts_from_tm);
 	}
 
 	printf("%s odp_tm_enq_errs=%u\n", __func__, odp_tm_enq_errs);