Selaa lähdekoodia

qcacld-3.0: Remove driver_type from WMA context

The driver_type field in the WMA context is written but never
read. Since it is not actually used, remove it.

Change-Id: I646fea6fc5f08bf090980de755055b58f6fec0cd
CRs-Fixed: 2294149
Jeff Johnson 6 vuotta sitten
vanhempi
sitoutus
b1a6806814
2 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. 0 2
      core/wma/inc/wma.h
  2. 0 1
      core/wma/src/wma_main.c

+ 0 - 2
core/wma/inc/wma.h

@@ -990,7 +990,6 @@ struct wma_valid_channels {
  * @recovery_event: wma FW recovery event
  * @max_station: max stations
  * @max_bssid: max bssid
- * @driver_type: driver type
  * @myaddr: current mac address
  * @hwaddr: mac address from EEPROM
  * @lpss_support: LPSS feature is supported in target or not
@@ -1120,7 +1119,6 @@ typedef struct {
 	qdf_event_t recovery_event;
 	uint16_t max_station;
 	uint16_t max_bssid;
-	enum qdf_driver_type driver_type;
 	uint8_t myaddr[IEEE80211_ADDR_LEN];
 	uint8_t hwaddr[IEEE80211_ADDR_LEN];
 #ifdef WLAN_FEATURE_LPSS

+ 0 - 1
core/wma/src/wma_main.c

@@ -3174,7 +3174,6 @@ QDF_STATUS wma_open(struct wlan_objmgr_psoc *psoc,
 
 	wma_handle->max_station = cds_cfg->max_station;
 	wma_handle->max_bssid = cds_cfg->max_bssid;
-	wma_handle->driver_type = cds_cfg->driver_type;
 	wma_handle->ssdp = cds_cfg->ssdp;
 	wma_handle->enable_mc_list = cds_cfg->enable_mc_list;
 	wma_handle->apf_packet_filter_enable =