This looks fine, but this seems to have little to do with the other parts of this patch. It should be a separate patch.
On Tue, Dec 20, 2016 at 7:45 AM, Matias Elo <matias....@nokia.com> wrote: > Signed-off-by: Matias Elo <matias....@nokia.com> > --- > test/common_plat/validation/api/pool/pool.c | 7 +------ > test/common_plat/validation/api/timer/timer.c | 2 +- > 2 files changed, 2 insertions(+), 7 deletions(-) > > diff --git a/test/common_plat/validation/api/pool/pool.c > b/test/common_plat/validation/api/pool/pool.c > index d48ac2a..8687941 100644 > --- a/test/common_plat/validation/api/pool/pool.c > +++ b/test/common_plat/validation/api/pool/pool.c > @@ -8,19 +8,14 @@ > #include "odp_cunit_common.h" > #include "pool.h" > > -static int pool_name_number = 1; > static const int default_buffer_size = 1500; > static const int default_buffer_num = 1000; > > static void pool_create_destroy(odp_pool_param_t *params) > { > odp_pool_t pool; > - char pool_name[ODP_POOL_NAME_LEN]; > > - snprintf(pool_name, sizeof(pool_name), > - "test_pool-%d", pool_name_number++); > - > - pool = odp_pool_create(pool_name, params); > + pool = odp_pool_create(NULL, params); > CU_ASSERT_FATAL(pool != ODP_POOL_INVALID); > CU_ASSERT(odp_pool_to_u64(pool) != > odp_pool_to_u64(ODP_POOL_INVALID)); > diff --git a/test/common_plat/validation/api/timer/timer.c > b/test/common_plat/validation/api/timer/timer.c > index 0007639..1945afa 100644 > --- a/test/common_plat/validation/api/timer/timer.c > +++ b/test/common_plat/validation/api/timer/timer.c > @@ -156,7 +156,7 @@ void timer_test_odp_timer_cancel(void) > tparam.num_timers = 1; > tparam.priv = 0; > tparam.clk_src = ODP_CLOCK_CPU; > - tp = odp_timer_pool_create("timer_pool0", &tparam); > + tp = odp_timer_pool_create(NULL, &tparam); > if (tp == ODP_TIMER_POOL_INVALID) > CU_FAIL_FATAL("Timer pool create failed"); > > -- > 2.7.4 >