qcom: Add some __unused annotations to avoid compiler warnings
cherry-picked from upstream device/linaro/dragonboard project.
Add __unused annotations to qcom remoteproc userland programs
to avoid compiler warnings.
Change-Id: Idd9405ff03afbeeb76433f14d24ee40eef42ed7e
Signed-off-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Amit Pundir <pundiramit@gmail.com>
diff --git a/qcom/pd-mapper/pd-mapper.c b/qcom/pd-mapper/pd-mapper.c
index b64181e..543dfb3 100644
--- a/qcom/pd-mapper/pd-mapper.c
+++ b/qcom/pd-mapper/pd-mapper.c
@@ -113,7 +113,7 @@
}
}
-int main(int argc, char **argv)
+int main(int argc __unused, char **argv __unused)
{
struct sockaddr_qrtr sq;
struct qrtr_packet pkt;