mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 08:36:12 -04:00
qcacmn: Code refine for duplicated spin unlock function
There are several duplicated spin unlock function calling in the AC based TX flow control path. Remove this redundant codes. CRs-Fixed: 2329973 Change-Id: I483bf97612b8e56f745360a3e84fbdff8c357ea9
This commit is contained in:
parent
d063d7486c
commit
e4faf863c5
1 changed files with 1 additions and 4 deletions
|
|
@ -267,14 +267,11 @@ dp_tx_desc_alloc(struct dp_soc *soc, uint8_t desc_pool_id)
|
|||
qdf_get_system_timestamp();
|
||||
soc->pause_cb(desc_pool_id,
|
||||
act, WLAN_DATA_FLOW_CONTROL);
|
||||
qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
||||
} else {
|
||||
qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
||||
}
|
||||
} else {
|
||||
pool->pkt_drop_no_desc++;
|
||||
qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
||||
}
|
||||
qdf_spin_unlock_bh(&pool->flow_pool_lock);
|
||||
} else {
|
||||
soc->pool_stats.pkt_drop_no_pool++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue