mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
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:
parent
75e3c8cc7e
commit
6609dbbddd
2 changed files with 0 additions and 2 deletions
|
|
@ -192,7 +192,6 @@ static void htc_cleanup(HTC_TARGET *target)
|
|||
qdf_spinlock_destroy(&target->HTCLock);
|
||||
qdf_spinlock_destroy(&target->HTCRxLock);
|
||||
qdf_spinlock_destroy(&target->HTCTxLock);
|
||||
qdf_spinlock_destroy(&target->HTCCreditLock);
|
||||
for (i = 0; i < ENDPOINT_MAX; i++) {
|
||||
endpoint = &target->endpoint[i];
|
||||
qdf_spinlock_destroy(&endpoint->lookup_queue_lock);
|
||||
|
|
|
|||
|
|
@ -190,7 +190,6 @@ typedef struct _HTC_TARGET {
|
|||
qdf_spinlock_t HTCLock;
|
||||
qdf_spinlock_t HTCRxLock;
|
||||
qdf_spinlock_t HTCTxLock;
|
||||
qdf_spinlock_t HTCCreditLock;
|
||||
uint32_t HTCStateFlags;
|
||||
void *host_handle;
|
||||
struct htc_init_info HTCInitInfo;
|
||||
|
|
|
|||
Loading…
Reference in a new issue