mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
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:
parent
fcbefe49db
commit
7ca9424665
2 changed files with 0 additions and 12 deletions
|
|
@ -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;
|
||||
|
||||
/*
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue