Explorar el Código

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
Utkarsh Bhatnagar hace 4 años
padre
commit
0deba7575b
Se han modificado 2 ficheros con 0 adiciones y 23 borrados
  1. 0 12
      core/sap/inc/sap_api.h
  2. 0 11
      core/sap/src/sap_module.c

+ 0 - 12
core/sap/inc/sap_api.h

@@ -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

+ 0 - 11
core/sap/src/sap_module.c

@@ -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)
 {