mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 07:03:09 -04:00
qcacld-3.0: Remove sme_is_auto_ps_timer_running()
Change Id84eb7cf579a29da30f3366edef24821fcd5be55 ("qcacld-3.0:
Cleanup qpower vendor command") removed the only client of
sme_is_auto_ps_timer_running(). Since this function is now
unused, remove it.
Change-Id: I00692e5ac8981752e609bb21cef4c76cfc03c838
CRs-Fixed: 2370886
This commit is contained in:
parent
29cb098914
commit
397c19feee
2 changed files with 0 additions and 22 deletions
|
|
@ -85,8 +85,5 @@ QDF_STATUS sme_ps_close(mac_handle_t mac_handle);
|
|||
QDF_STATUS sme_ps_close_per_session(mac_handle_t mac_handle,
|
||||
uint32_t session_id);
|
||||
|
||||
bool sme_is_auto_ps_timer_running(mac_handle_t mac_handle,
|
||||
uint32_t session_id);
|
||||
|
||||
#endif /* #if !defined(__SME_POWER_SAVE_API_H) */
|
||||
|
||||
|
|
|
|||
|
|
@ -888,22 +888,3 @@ QDF_STATUS sme_ps_close_per_session(mac_handle_t mac_handle,
|
|||
sme_err("Cannot deallocate suto PS timer");
|
||||
return qdf_status;
|
||||
}
|
||||
|
||||
bool sme_is_auto_ps_timer_running(mac_handle_t mac_handle,
|
||||
uint32_t session_id)
|
||||
{
|
||||
struct mac_context *mac_ctx = MAC_CONTEXT(mac_handle);
|
||||
struct ps_global_info *ps_global_info = &mac_ctx->sme.ps_global_info;
|
||||
struct ps_params *ps_param = &ps_global_info->ps_params[session_id];
|
||||
bool status = false;
|
||||
/*
|
||||
* Check if the auto ps entry timer if running
|
||||
*/
|
||||
if (QDF_TIMER_STATE_RUNNING ==
|
||||
qdf_mc_timer_get_current_state(
|
||||
&ps_param->auto_ps_enable_timer))
|
||||
status = true;
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue