Message ID | 1426789209-13903-2-git-send-email-mike.holmes@linaro.org |
---|---|
State | Accepted |
Commit | 9c3e7f68c416fea0b820ff9644aa4195247f3e1d |
Headers | show |
On Thu, Mar 19, 2015 at 1:20 PM, Mike Holmes <mike.holmes@linaro.org> wrote: > Signed-off-by: Mike Holmes <mike.holmes@linaro.org> > Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> > --- > test/validation/odp_timer.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c > index fd8065d..1bc4e2a 100644 > --- a/test/validation/odp_timer.c > +++ b/test/validation/odp_timer.c > @@ -267,13 +267,12 @@ static void handle_tmo(odp_event_t ev, bool stale, > uint64_t prev_tick) > > /* @private Worker thread entrypoint which performs timer > alloc/set/cancel/free > * tests */ > -static void *worker_entrypoint(void *arg) > +static void *worker_entrypoint(void *arg TEST_UNUSED) > { > int thr = odp_thread_id(); > uint32_t i; > unsigned seed = thr; > int rc; > - (void)arg; > > odp_queue_t queue = odp_queue_create("timer_queue", > ODP_QUEUE_TYPE_POLL, > -- > 2.1.0 > >
Merged, Maxim. On 03/20/15 06:26, Bill Fischofer wrote: > > > On Thu, Mar 19, 2015 at 1:20 PM, Mike Holmes <mike.holmes@linaro.org > <mailto:mike.holmes@linaro.org>> wrote: > > Signed-off-by: Mike Holmes <mike.holmes@linaro.org > <mailto:mike.holmes@linaro.org>> > > > Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org > <mailto:bill.fischofer@linaro.org>> > > --- > test/validation/odp_timer.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-) > > diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c > index fd8065d..1bc4e2a 100644 > --- a/test/validation/odp_timer.c > +++ b/test/validation/odp_timer.c > @@ -267,13 +267,12 @@ static void handle_tmo(odp_event_t ev, bool > stale, uint64_t prev_tick) > > /* @private Worker thread entrypoint which performs timer > alloc/set/cancel/free > * tests */ > -static void *worker_entrypoint(void *arg) > +static void *worker_entrypoint(void *arg TEST_UNUSED) > { > int thr = odp_thread_id(); > uint32_t i; > unsigned seed = thr; > int rc; > - (void)arg; > > odp_queue_t queue = odp_queue_create("timer_queue", > ODP_QUEUE_TYPE_POLL, > -- > 2.1.0 > > > > > _______________________________________________ > lng-odp mailing list > lng-odp@lists.linaro.org > http://lists.linaro.org/mailman/listinfo/lng-odp
diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c index fd8065d..1bc4e2a 100644 --- a/test/validation/odp_timer.c +++ b/test/validation/odp_timer.c @@ -267,13 +267,12 @@ static void handle_tmo(odp_event_t ev, bool stale, uint64_t prev_tick) /* @private Worker thread entrypoint which performs timer alloc/set/cancel/free * tests */ -static void *worker_entrypoint(void *arg) +static void *worker_entrypoint(void *arg TEST_UNUSED) { int thr = odp_thread_id(); uint32_t i; unsigned seed = thr; int rc; - (void)arg; odp_queue_t queue = odp_queue_create("timer_queue", ODP_QUEUE_TYPE_POLL,
Signed-off-by: Mike Holmes <mike.holmes@linaro.org> --- test/validation/odp_timer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)