qcacld-3.0: Remove unused scanevent from hdd_wext_state_t
Currently struct hdd_wext_state_s (typedefed as hdd_wext_state_t) contains the field "qdf_event_t scanevent". This event is created, but beyond that it is never used. Since this object is obsolete, remove it. CRs-Fixed: 2017476 Change-Id: I7bd4290e1b4d0df069e8e6e6c9347c1ac3c01c63
This commit is contained in:
committed by
Sandeep Puligilla
parent
920b8ee5bf
commit
688f475de9
@@ -254,8 +254,6 @@ typedef struct hdd_wext_state_s {
|
||||
/* qdf event */
|
||||
qdf_event_t hdd_qdf_event;
|
||||
|
||||
qdf_event_t scanevent;
|
||||
|
||||
/**Counter measure state, Started/Stopped*/
|
||||
bool mTKIPCounterMeasures;
|
||||
|
||||
|
@@ -13487,10 +13487,6 @@ int hdd_register_wext(struct net_device *dev)
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
|
||||
if (!QDF_IS_STATUS_SUCCESS(qdf_event_create(&pwextBuf->scanevent))) {
|
||||
hdd_err("ERROR: HDD scan event init failed!!");
|
||||
return QDF_STATUS_E_FAILURE;
|
||||
}
|
||||
/* Register as a wireless device */
|
||||
dev->wireless_handlers = (struct iw_handler_def *)&we_handler_def;
|
||||
|
||||
|
Reference in New Issue
Block a user