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/qrtr/src/ns.c b/qcom/qrtr/src/ns.c
index da1557a..4b88a9c 100644
--- a/qcom/qrtr/src/ns.c
+++ b/qcom/qrtr/src/ns.c
@@ -481,7 +481,8 @@
}
static int ctrl_cmd_del_server(struct context *ctx, struct sockaddr_qrtr *from,
- unsigned int service, unsigned int instance,
+ unsigned int service __unused,
+ unsigned int instance __unused,
unsigned int node_id, unsigned int port)
{
struct node *node;