Przeglądaj źródła

qcacld-3.0: Remove hdd_issta_p2p_clientconnected()

Function hdd_issta_p2p_clientconnected() is unused, so remove it.

Change-Id: I8b1ead9902ec93e76f76144118392db38abd38d7
CRs-Fixed: 2370793
Jeff Johnson 6 lat temu
rodzic
commit
4ab662b26f
2 zmienionych plików z 0 dodań i 14 usunięć
  1. 0 1
      core/hdd/inc/wlan_hdd_main.h
  2. 0 13
      core/hdd/src/wlan_hdd_main.c

+ 0 - 1
core/hdd/inc/wlan_hdd_main.h

@@ -2286,7 +2286,6 @@ int __wlan_hdd_validate_session_id(uint8_t session_id, const char *func);
  */
 bool hdd_is_valid_mac_address(const uint8_t *mac_addr);
 
-QDF_STATUS hdd_issta_p2p_clientconnected(struct hdd_context *hdd_ctx);
 bool wlan_hdd_validate_modules_state(struct hdd_context *hdd_ctx);
 
 /**

+ 0 - 13
core/hdd/src/wlan_hdd_main.c

@@ -12271,19 +12271,6 @@ void hdd_softap_sta_disassoc(struct hdd_adapter *adapter,
 			     pDelStaParams);
 }
 
-/**
- * hdd_issta_p2p_clientconnected() - check if sta or p2p client is connected
- * @hdd_ctx:	HDD Context
- *
- * API to find if there is any STA or P2P-Client is connected
- *
- * Return: true if connected; false otherwise
- */
-QDF_STATUS hdd_issta_p2p_clientconnected(struct hdd_context *hdd_ctx)
-{
-	return sme_is_sta_p2p_client_connected(hdd_ctx->mac_handle);
-}
-
 void wlan_hdd_disable_roaming(struct hdd_adapter *cur_adapter)
 {
 	struct hdd_context *hdd_ctx = WLAN_HDD_GET_CTX(cur_adapter);