mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
qcacmn: Remove psoc/pdev locks for trivial APIs
Remove psoc/pdev locks from trivial API's. This follows the changes from which the lock requirement from few simple APIs are removed. Change-Id: Ib5769c2234c8d57f485c0eef5a4e3c61fa170508 CRs-Fixed: 2060880
This commit is contained in:
parent
adbe5caff0
commit
5ec0bd3636
21 changed files with 1 additions and 119 deletions
|
|
@ -383,11 +383,9 @@ wlan_vdev_get_tdls_soc_obj(struct wlan_objmgr_vdev *vdev)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
wlan_psoc_obj_lock(psoc);
|
||||
soc_obj = (struct tdls_soc_priv_obj *)
|
||||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_TDLS);
|
||||
wlan_psoc_obj_unlock(psoc);
|
||||
|
||||
return soc_obj;
|
||||
}
|
||||
|
|
@ -406,11 +404,9 @@ wlan_psoc_get_tdls_soc_obj(struct wlan_objmgr_psoc *psoc)
|
|||
tdls_err("NULL psoc");
|
||||
return NULL;
|
||||
}
|
||||
wlan_psoc_obj_lock(psoc);
|
||||
soc_obj = (struct tdls_soc_priv_obj *)
|
||||
wlan_objmgr_psoc_get_comp_private_obj(psoc,
|
||||
WLAN_UMAC_COMP_TDLS);
|
||||
wlan_psoc_obj_unlock(psoc);
|
||||
|
||||
return soc_obj;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue