Prechádzať zdrojové kódy

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
Manjunathappa Prakash 7 rokov pred
rodič
commit
ebdfa7e52a
1 zmenil súbory, kde vykonal 3 pridanie a 1 odobranie
  1. 3 1
      core/cds/src/cds_sched.c

+ 3 - 1
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