Remove several annoying initializations.
Signed-off-by: Ivan Khoronzhuk <[email protected]>
---
test/performance/odp_scheduling.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/test/performance/odp_scheduling.c
b/test/performance/odp_scheduling.c
index 8d388ff..66f4349 100644
--- a/test/performance/odp_scheduling.c
+++ b/test/performance/odp_scheduling.c
@@ -345,7 +345,7 @@ static int test_schedule_single(const char *str, int thr,
odp_queue_t queue;
uint64_t t1, t2, cycles, ns;
uint32_t i;
- uint32_t tot = 0;
+ uint32_t tot;
if (create_queue(thr, msg_pool, prio))
return -1;
@@ -421,11 +421,11 @@ static int test_schedule_many(const char *str, int thr,
{
odp_event_t ev;
odp_queue_t queue;
- uint64_t t1 = 0;
- uint64_t t2 = 0;
+ uint64_t t1;
+ uint64_t t2;
uint64_t cycles, ns;
uint32_t i;
- uint32_t tot = 0;
+ uint32_t tot;
if (create_queues(thr, msg_pool, prio))
return -1;
@@ -498,8 +498,8 @@ static int test_schedule_multi(const char *str, int thr,
{
odp_event_t ev[MULTI_BUFS_MAX];
odp_queue_t queue;
- uint64_t t1 = 0;
- uint64_t t2 = 0;
+ uint64_t t1;
+ uint64_t t2;
uint64_t cycles, ns;
int i, j;
int num;
--
1.9.1
_______________________________________________
lng-odp mailing list
[email protected]
https://lists.linaro.org/mailman/listinfo/lng-odp