From ebdfa7e52a8d8feeae9c2ed63aba5f90f5b8c3f1 Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Wed, 3 Jan 2018 15:32:31 -0800 Subject: [PATCH] qcacld-3.0: return code from non-void thread function Return value from non-void cds_ol_rx_thread(). Change-Id: Ia9b5b0e16475b27c5e03da7812299203d4bd4bda CRs-Fixed: 2162238 --- core/cds/src/cds_sched.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/cds/src/cds_sched.c b/core/cds/src/cds_sched.c index 6787b5b73d8a..b875c5375caf 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. * @@ -836,6 +836,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