From 7ca9424665c4925a68adbb3e7fb246796b7330ef Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Wed, 27 Jun 2018 10:32:48 -0700 Subject: [PATCH] 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 --- core/sme/inc/csr_link_list.h | 3 --- core/sme/src/csr/csr_link_list.c | 9 --------- 2 files changed, 12 deletions(-) diff --git a/core/sme/inc/csr_link_list.h b/core/sme/inc/csr_link_list.h index af8ab8ddfc54..bed69365ab60 100644 --- a/core/sme/inc/csr_link_list.h +++ b/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; /* diff --git a/core/sme/src/csr/csr_link_list.c b/core/sme/src/csr/csr_link_list.c index 746e5c2e3deb..5d120dc3e8c2 100644 --- a/core/sme/src/csr/csr_link_list.c +++ b/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;