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
This commit is contained in:
Jeff Johnson 2018-07-22 16:46:45 -07:00 committed by nshrivas
parent 0cbd0a7fd8
commit b1a6806814
2 changed files with 0 additions and 3 deletions

View File

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

View File

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