db845c: qcom: Add some __unused annotations to avoid compiler warnings am: 2665669922 am: e4d5ffda1e

Change-Id: I8841d88e94368218faebed8e2624ebe407b80076
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;
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;
diff --git a/qcom/rmtfs/rmtfs.c b/qcom/rmtfs/rmtfs.c
index 26c0488..93965f1 100644
--- a/qcom/rmtfs/rmtfs.c
+++ b/qcom/rmtfs/rmtfs.c
@@ -482,7 +482,7 @@
 	return ret;
 }
 
-static void sig_int_handler(int signo)
+static void sig_int_handler(int signo __unused)
 {
 	sig_int_count++;
 }
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;
 
diff --git a/qcom/rmtfs/sharedmem.c b/qcom/rmtfs/sharedmem.c
index fb31720..a1301da 100644
--- a/qcom/rmtfs/sharedmem.c
+++ b/qcom/rmtfs/sharedmem.c
@@ -256,7 +256,7 @@
 	return -saved_errno;
 }
 
-static int rmtfs_mem_open_uio(struct rmtfs_mem *rmem, int client_id)
+static int rmtfs_mem_open_uio(struct rmtfs_mem *rmem __unused, int client_id __unused)
 {
 	fprintf(stderr, "uio access is not supported on ANDROID yet\n");
 	return -EINVAL;
@@ -330,7 +330,7 @@
 	return rmem->address;
 }
 
-void rmtfs_mem_free(struct rmtfs_mem *rmem)
+void rmtfs_mem_free(struct rmtfs_mem *rmem __unused)
 {
 }
 
diff --git a/qcom/tqftpserv/tqftpserv.c b/qcom/tqftpserv/tqftpserv.c
index 55b667f..fa6e3c9 100644
--- a/qcom/tqftpserv/tqftpserv.c
+++ b/qcom/tqftpserv/tqftpserv.c
@@ -309,7 +309,7 @@
 	}
 }
 
-static void handle_wrq(const char *buf, size_t len, struct sockaddr_qrtr *sq)
+static void handle_wrq(const char *buf, size_t len __unused, struct sockaddr_qrtr *sq)
 {
 	struct tftp_client *client;
 	const char *filename;
@@ -480,7 +480,7 @@
 	free(client);
 }
 
-int main(int argc, char **argv)
+int main(int argc __unused, char **argv __unused)
 {
 	struct tftp_client *client;
 	struct tftp_client *next;