Fix unused parameter compilation warning
Change-Id: I947f52a83cc9352caf45a7b242e5a15fbdedf6e3
diff --git a/src/ethosu_driver.c b/src/ethosu_driver.c
index 201eeff..22c15c2 100644
--- a/src/ethosu_driver.c
+++ b/src/ethosu_driver.c
@@ -176,9 +176,15 @@
void *__attribute__((weak)) ethosu_mutex_create(void) {}
-void __attribute__((weak)) ethosu_mutex_lock(void *mutex) {}
+void __attribute__((weak)) ethosu_mutex_lock(void *mutex)
+{
+ UNUSED(mutex);
+}
-void __attribute__((weak)) ethosu_mutex_unlock(void *mutex) {}
+void __attribute__((weak)) ethosu_mutex_unlock(void *mutex)
+{
+ UNUSED(mutex);
+}
// Baremetal implementation of creating a semaphore
void *__attribute__((weak)) ethosu_semaphore_create(void)