From 2ebe3cdcd7a89e88fb589d0c8efb643160aeb730 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Fri, 14 Oct 2016 07:50:18 -0700 Subject: 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 --- core/sme/src/common/sme_api.c | 27 --------------------------- 1 file changed, 27 deletions(-) diff --git a/core/sme/src/common/sme_api.c b/core/sme/src/common/sme_api.c index bcd45914a7bf..3c756e7278fa 100644 --- a/core/sme/src/common/sme_api.c +++ b/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 /* -- cgit v1.2.3