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
This commit is contained in:
@@ -49,9 +49,6 @@ typedef struct tagDblLinkList {
|
|||||||
qdf_mutex_t Lock;
|
qdf_mutex_t Lock;
|
||||||
uint32_t Count;
|
uint32_t Count;
|
||||||
tListFlag Flag;
|
tListFlag Flag;
|
||||||
/*command debugging */
|
|
||||||
uint32_t cmdTimeoutDuration; /* command timeout duration */
|
|
||||||
qdf_mc_timer_t *cmdTimeoutTimer; /*command timeout Timer */
|
|
||||||
} tDblLinkList;
|
} tDblLinkList;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -216,7 +216,6 @@ QDF_STATUS csr_ll_open(tDblLinkList *pList)
|
|||||||
|
|
||||||
if (LIST_FLAG_OPEN != pList->Flag) {
|
if (LIST_FLAG_OPEN != pList->Flag) {
|
||||||
pList->Count = 0;
|
pList->Count = 0;
|
||||||
pList->cmdTimeoutTimer = NULL;
|
|
||||||
qdf_status = qdf_mutex_create(&pList->Lock);
|
qdf_status = qdf_mutex_create(&pList->Lock);
|
||||||
|
|
||||||
if (QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
if (QDF_IS_STATUS_SUCCESS(qdf_status)) {
|
||||||
@@ -282,11 +281,6 @@ void csr_ll_insert_head(tDblLinkList *pList, tListElem *pEntry,
|
|||||||
pList->Count++;
|
pList->Count++;
|
||||||
if (fInterlocked)
|
if (fInterlocked)
|
||||||
csr_ll_unlock(pList);
|
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)
|
if (fInterlocked)
|
||||||
csr_ll_unlock(pList);
|
csr_ll_unlock(pList);
|
||||||
|
|
||||||
if (pList->cmdTimeoutTimer)
|
|
||||||
qdf_mc_timer_stop(pList->cmdTimeoutTimer);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return fFound;
|
return fFound;
|
||||||
|
Reference in New Issue
Block a user