qcacld-3.0: Remove sme_is_sta_p2p_client_connected()

Change I8b1ead9902ec93e76f76144118392db38abd38d7 ("qcacld-3.0: Remove
hdd_issta_p2p_clientconnected()") removed the only caller of
sme_is_sta_p2p_client_connected(). Since the function is now unused,
remove it.

Change-Id: I2b469c6cb2e6bdfc735b04e9bd6f12ba0d41fea4
CRs-Fixed: 2370794
This commit is contained in:
Jeff Johnson 2018-12-16 15:55:56 -08:00
commit 6866088ec4
2 changed files with 1 additions and 15 deletions

View file

@ -873,7 +873,7 @@ QDF_STATUS sme_set_phy_mode(mac_handle_t mac_handle, eCsrPhyMode phyMode);
eCsrPhyMode sme_get_phy_mode(mac_handle_t mac_handle);
QDF_STATUS sme_handoff_request(mac_handle_t mac_handle, uint8_t sessionId,
tCsrHandoffRequest *pHandoffInfo);
QDF_STATUS sme_is_sta_p2p_client_connected(mac_handle_t mac_handle);
QDF_STATUS sme_add_periodic_tx_ptrn(mac_handle_t mac_handle,
tSirAddPeriodicTxPtrn *addPeriodicTxPtrnParams);
QDF_STATUS sme_del_periodic_tx_ptrn(mac_handle_t mac_handle,

View file

@ -8353,20 +8353,6 @@ QDF_STATUS sme_handoff_request(mac_handle_t mac_handle,
return status;
}
/*
* SME API to check if there is any infra station or
* P2P client is connected
*/
QDF_STATUS sme_is_sta_p2p_client_connected(mac_handle_t mac_handle)
{
struct mac_context *mac = MAC_CONTEXT(mac_handle);
if (csr_is_infra_connected(mac))
return QDF_STATUS_SUCCESS;
return QDF_STATUS_E_FAILURE;
}
/**
* sme_add_periodic_tx_ptrn() - Add Periodic TX Pattern
* @mac_handle: Opaque handle to the global MAC context