qcacmn: Remove an obsolete lock in host to target layer

After gerrit#2176826, which the change ID is
I615f0e4d6de150924b99b3444cebf00571ddc088, HTCCreditLock is
removed from creation. However, the destroy of this lock is
missed. Need to remove this obsolete lock completely.

CRs-Fixed: 2345978
Change-Id: I4b67aa2a12befcd94a04a8a6acd43e31ae0b837f
This commit is contained in:
chenguo
2018-11-07 11:45:58 +08:00
committed by nshrivas
parent 75e3c8cc7e
commit 6609dbbddd
2 changed files with 0 additions and 2 deletions

View File

@@ -192,7 +192,6 @@ static void htc_cleanup(HTC_TARGET *target)
qdf_spinlock_destroy(&target->HTCLock); qdf_spinlock_destroy(&target->HTCLock);
qdf_spinlock_destroy(&target->HTCRxLock); qdf_spinlock_destroy(&target->HTCRxLock);
qdf_spinlock_destroy(&target->HTCTxLock); qdf_spinlock_destroy(&target->HTCTxLock);
qdf_spinlock_destroy(&target->HTCCreditLock);
for (i = 0; i < ENDPOINT_MAX; i++) { for (i = 0; i < ENDPOINT_MAX; i++) {
endpoint = &target->endpoint[i]; endpoint = &target->endpoint[i];
qdf_spinlock_destroy(&endpoint->lookup_queue_lock); qdf_spinlock_destroy(&endpoint->lookup_queue_lock);

View File

@@ -190,7 +190,6 @@ typedef struct _HTC_TARGET {
qdf_spinlock_t HTCLock; qdf_spinlock_t HTCLock;
qdf_spinlock_t HTCRxLock; qdf_spinlock_t HTCRxLock;
qdf_spinlock_t HTCTxLock; qdf_spinlock_t HTCTxLock;
qdf_spinlock_t HTCCreditLock;
uint32_t HTCStateFlags; uint32_t HTCStateFlags;
void *host_handle; void *host_handle;
struct htc_init_info HTCInitInfo; struct htc_init_info HTCInitInfo;