diff mbox

[2/3] validation: timer: use unused attribute

Message ID 1425593910-11781-2-git-send-email-mike.holmes@linaro.org
State Superseded
Headers show

Commit Message

Mike Holmes March 5, 2015, 10:18 p.m. UTC
Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 test/validation/odp_timer.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
diff mbox

Patch

diff --git a/test/validation/odp_timer.c b/test/validation/odp_timer.c
index 88af61b..6c23430 100644
--- a/test/validation/odp_timer.c
+++ b/test/validation/odp_timer.c
@@ -183,12 +183,11 @@  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;
-	(void)arg;
 
 	odp_queue_t queue = odp_queue_create("timer_queue",
 					     ODP_QUEUE_TYPE_POLL,