Przeglądaj źródła

qcacld-3.0: Remove obsolete hdd_qdf_event

Change "qcacld-3.0: Use Request Manager for ioctl getWlanStats"
removed the only user of item hdd_qdf_event in struct hdd_wext_state,
so completely remove it.

Change-Id: Ifc00f6dc396ca5f6e59b3895a6c9467179073218
CRs-Fixed: 2202506
Jeff Johnson 7 lat temu
rodzic
commit
111ad91fa3
2 zmienionych plików z 1 dodań i 10 usunięć
  1. 1 4
      core/hdd/inc/wlan_hdd_wext.h
  2. 0 6
      core/hdd/src/wlan_hdd_wext.c

+ 1 - 4
core/hdd/inc/wlan_hdd_wext.h

@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2012-2017 The Linux Foundation. All rights reserved.
+ * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
  *
  * Previously licensed under the ISC license by Qualcomm Atheros, Inc.
  *
@@ -215,9 +215,6 @@ struct hdd_wext_state {
 
 	/**auth key mgmt */
 	int32_t authKeyMgmt;
-
-	/* qdf event */
-	qdf_event_t hdd_qdf_event;
 };
 
 struct ccp_freq_chan_map {

+ 0 - 6
core/hdd/src/wlan_hdd_wext.c

@@ -12176,12 +12176,6 @@ int hdd_register_wext(struct net_device *dev)
 		return QDF_STATUS_E_FAILURE;
 	}
 
-	status = qdf_event_create(&pwextBuf->hdd_qdf_event);
-	if (!QDF_IS_STATUS_SUCCESS(status)) {
-		hdd_err("ERROR: HDD qdf event init failed!!");
-		return QDF_STATUS_E_FAILURE;
-	}
-
 	hdd_initialize_fils_info(pwextBuf);
 	/* Register as a wireless device */
 	dev->wireless_handlers = (struct iw_handler_def *)&we_handler_def;