Ver código fonte

qcacld-3.0: Remove obsolete sme_set_phy_cb_mode24_g()

Function sme_set_phy_cb_mode24_g() is obsolete and not being used, so
remove it.

Change-Id: I3289ea53a634915961d4f904cd806d7aed4202e4
CRs-Fixed: 1075575
Jeff Johnson 8 anos atrás
pai
commit
872eb5bd35
1 arquivos alterados com 0 adições e 27 exclusões
  1. 0 27
      core/sme/src/common/sme_api.c

+ 0 - 27
core/sme/src/common/sme_api.c

@@ -12029,33 +12029,6 @@ QDF_STATUS sme_set_ht2040_mode(tHalHandle hHal, uint8_t sessionId,
 	return status;
 }
 
-/* ---------------------------------------------------------------------------
-
-    \fn sme_set_phy_cb_mode24_g
-
-    \brief Changes PHY channel bonding mode
-
-    \param hHal - The handle returned by mac_open.
-
-    \param cbMode new channel bonding mode which is to set
-
-    \return QDF_STATUS  SUCCESS.
-
-   -------------------------------------------------------------------------------*/
-QDF_STATUS sme_set_phy_cb_mode24_g(tHalHandle hHal, ePhyChanBondState phyCBMode)
-{
-	tpAniSirGlobal pMac = PMAC_STRUCT(hHal);
-
-	if (NULL == pMac) {
-		QDF_TRACE(QDF_MODULE_ID_SME, QDF_TRACE_LEVEL_ERROR,
-			  "%s: invalid context", __func__);
-		return QDF_STATUS_E_FAILURE;
-	}
-
-	pMac->roam.configParam.channelBondingMode24GHz = phyCBMode;
-
-	return QDF_STATUS_SUCCESS;
-}
 #endif
 
 /*