mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Remove console logging for ol_txrx_peer_get_ref
In ol_txrx_peer_get_ref(), console logging is done after holding spin lock which leads to spinlock lockup. Avoid excess logging into console while holding spin lock. Change-Id: Iae4fa6006358e26796ae2c262aca01bec7eacd21 CRs-Fixed: 2325704
This commit is contained in:
parent
44b0d24014
commit
9b13327cfb
1 changed files with 0 additions and 9 deletions
|
|
@ -65,7 +65,6 @@ int ol_txrx_peer_get_ref(struct ol_txrx_peer_t *peer,
|
|||
enum peer_debug_id_type dbg_id)
|
||||
{
|
||||
int refs_dbg_id;
|
||||
bool ref_silent = false;
|
||||
|
||||
if (!peer) {
|
||||
ol_txrx_err("peer is null for ID %d", dbg_id);
|
||||
|
|
@ -77,18 +76,10 @@ int ol_txrx_peer_get_ref(struct ol_txrx_peer_t *peer,
|
|||
return -EINVAL;
|
||||
}
|
||||
|
||||
if (dbg_id == PEER_DEBUG_ID_OL_RX_THREAD)
|
||||
ref_silent = true;
|
||||
|
||||
qdf_atomic_inc(&peer->ref_cnt);
|
||||
qdf_atomic_inc(&peer->access_list[dbg_id]);
|
||||
refs_dbg_id = qdf_atomic_read(&peer->access_list[dbg_id]);
|
||||
|
||||
if (!ref_silent)
|
||||
ol_txrx_info_high("[%d][%d] peer %pK ref_cnt -> %d",
|
||||
dbg_id, refs_dbg_id,
|
||||
peer, qdf_atomic_read(&peer->ref_cnt));
|
||||
|
||||
return refs_dbg_id;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue