summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjunathappa Prakash <prakashpm@codeaurora.org>2018-01-03 13:37:27 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-01-03 16:24:56 -0800
commitd804e60a852a1925a51f30b538494e8d3cf72c05 (patch)
tree3fa681a6eb02ca3c2586fc78156d7259132c6e37
parent9ac4124d83440de29dde2e819ed6f0974b64675e (diff)
qcacld-3.0: return code from non-void thread function
Return value from non-void cds_mc_thread() and cds_ol_rx_thread() Change-Id: Ia9b5b0e16475b27c5e03da7812299203d4bd4bda CRs-Fixed: 2162238
-rw-r--r--core/cds/src/cds_sched.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c
index 65c74d4522b4..228dde2c3082 100644
--- a/core/cds/src/cds_sched.c
+++ b/core/cds/src/cds_sched.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
*
* Previously licensed under the ISC license by Qualcomm Atheros, Inc.
*
@@ -919,6 +919,8 @@ static int cds_mc_thread(void *Arg)
qdf_timer_free(&wd_timer);
complete_and_exit(&pSchedContext->McShutdown, 0);
+
+ return 0;
} /* cds_mc_thread() */
#ifdef QCA_CONFIG_SMP
@@ -1231,6 +1233,8 @@ static int cds_ol_rx_thread(void *arg)
QDF_TRACE(QDF_MODULE_ID_QDF, QDF_TRACE_LEVEL_DEBUG,
"%s: Exiting CDS OL rx thread", __func__);
complete_and_exit(&pSchedContext->ol_rx_shutdown, 0);
+
+ return 0;
}
#endif