qcacld-3.0: Clean up wlan_sap_set_vht_ch_width

Remove wlan_sap_set_vht_ch_width as it wasn't
used anywhere.

Change-Id: I556269bfeb4df243720397a6ad2500b90bc8835d
CRs-Fixed: 2695940
This commit is contained in:
Utkarsh Bhatnagar 2020-05-27 17:16:41 +05:30 • committed by nshrivas
commit 0deba7575b
2 changed files with 0 additions and 23 deletions

View file

@ -1226,18 +1226,6 @@ eCsrPhyMode wlan_sap_get_phymode(struct sap_context *sap_ctx);
*/
uint32_t wlan_sap_get_vht_ch_width(struct sap_context *sap_ctx);
/**
* wlan_sap_set_vht_ch_width() - Sets SAP VHT channel width.
* @sap_ctx: Pointer to Sap Context
* @vht_channel_width: SAP VHT channel width value.
*
* This function sets the SAP current VHT channel width.
*
* Return: None
*/
void wlan_sap_set_vht_ch_width(struct sap_context *sap_ctx,
uint32_t vht_channel_width);
/**
* wlan_sap_get_ch_params() - get ch params
* @sap_ctx: Pointer to Sap Context

View file

@ -592,17 +592,6 @@ uint32_t wlan_sap_get_vht_ch_width(struct sap_context *sap_ctx)
return sap_ctx->ch_params.ch_width;
}
void wlan_sap_set_vht_ch_width(struct sap_context *sap_ctx,
uint32_t vht_channel_width)
{
if (!sap_ctx) {
sap_err("Invalid SAP pointer");
return;
}
sap_ctx->ch_params.ch_width = vht_channel_width;
}
bool wlan_sap_get_ch_params(struct sap_context *sap_ctx,
struct ch_params *ch_params)
{