diff options
author | Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org> | 2015-08-27 13:42:30 +0300 |
---|---|---|
committer | Maxim Uvarov <maxim.uvarov@linaro.org> | 2015-08-28 14:21:28 +0300 |
commit | a3508b24c949f1396ab4804259e3ca5e05b385f1 (patch) | |
tree | 9d32eca9ce627b8f4d18ff2f681e7bcce28b4858 /test/performance | |
parent | 0bd245638dd047b98185d110cf89d80d757e6459 (diff) |
performance: odp_scheduling: remove redundant var inits
Remove several annoying initializations.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Diffstat (limited to 'test/performance')
-rw-r--r-- | test/performance/odp_scheduling.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/performance/odp_scheduling.c b/test/performance/odp_scheduling.c index c42502435..2a7e531fa 100644 --- a/test/performance/odp_scheduling.c +++ b/test/performance/odp_scheduling.c @@ -343,7 +343,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; @@ -419,11 +419,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; @@ -496,8 +496,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; |