db845c: qcom: Add some __unused annotations to avoid compiler warnings
Add __unused annotations to qcom remoteproc userland programs
to avoid compiler warnings.
Change-Id: Idd9405ff03afbeeb76433f14d24ee40eef42ed7e
Signed-off-by: John Stultz <john.stultz@linaro.org>
diff --git a/qcom/rmtfs/rproc.c b/qcom/rmtfs/rproc.c
index a471b3c..95b45cb 100644
--- a/qcom/rmtfs/rproc.c
+++ b/qcom/rmtfs/rproc.c
@@ -98,7 +98,7 @@
return rproc_pipe[0];
}
-static void *do_rproc_start(void *unused)
+static void *do_rproc_start(void *unused __unused)
{
ssize_t ret;
@@ -114,7 +114,7 @@
return pthread_create(&start_thread, NULL, do_rproc_start, NULL);
}
-static void *do_rproc_stop(void *unused)
+static void *do_rproc_stop(void *unused __unused)
{
ssize_t ret;