diff mbox

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

Message ID 1425594134-5109-3-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 2ec2ed247c1359da3c99141116f9ba3c0bebde5f
Headers show

Commit Message

Mike Holmes March 5, 2015, 10:22 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,