Browse Source

qcacld-3.0: Remove command debug support from tDblLinkList

The csr_linked_list implementation has remnants of a command debugging
infrastructure that is no longer used, so remove those remnants.

Change-Id: Ic217c99b755744eed36c153a4183ed98724e86d7
CRs-Fixed: 2269026
Jeff Johnson 6 years ago
parent
commit
7ca9424665
2 changed files with 0 additions and 12 deletions
  1. 0 3
      core/sme/inc/csr_link_list.h
  2. 0 9
      core/sme/src/csr/csr_link_list.c

+ 0 - 3
core/sme/inc/csr_link_list.h

@@ -49,9 +49,6 @@ typedef struct tagDblLinkList {
 	qdf_mutex_t Lock;
 	uint32_t Count;
 	tListFlag Flag;
-	/*command debugging */
-	uint32_t cmdTimeoutDuration;       /* command timeout duration */
-	qdf_mc_timer_t *cmdTimeoutTimer;   /*command timeout Timer */
 } tDblLinkList;
 
 /*

+ 0 - 9
core/sme/src/csr/csr_link_list.c

@@ -216,7 +216,6 @@ QDF_STATUS csr_ll_open(tDblLinkList *pList)
 
 	if (LIST_FLAG_OPEN != pList->Flag) {
 		pList->Count = 0;
-		pList->cmdTimeoutTimer = NULL;
 		qdf_status = qdf_mutex_create(&pList->Lock);
 
 		if (QDF_IS_STATUS_SUCCESS(qdf_status)) {
@@ -282,11 +281,6 @@ void csr_ll_insert_head(tDblLinkList *pList, tListElem *pEntry,
 		pList->Count++;
 		if (fInterlocked)
 			csr_ll_unlock(pList);
-
-		if (pList->cmdTimeoutTimer && pList->cmdTimeoutDuration)
-			/* timer to detect pending command in activelist */
-			qdf_mc_timer_start(pList->cmdTimeoutTimer,
-					   pList->cmdTimeoutDuration);
 	}
 }
 
@@ -466,9 +460,6 @@ bool csr_ll_remove_entry(tDblLinkList *pList, tListElem *pEntryToRemove,
 		}
 		if (fInterlocked)
 			csr_ll_unlock(pList);
-
-		if (pList->cmdTimeoutTimer)
-			qdf_mc_timer_stop(pList->cmdTimeoutTimer);
 	}
 
 	return fFound;