diff --git a/core/hdd/inc/wlan_hdd_wext.h b/core/hdd/inc/wlan_hdd_wext.h index 158b88a0277a..50eeba0c1618 100644 --- a/core/hdd/inc/wlan_hdd_wext.h +++ b/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 { diff --git a/core/hdd/src/wlan_hdd_wext.c b/core/hdd/src/wlan_hdd_wext.c index 3dbaf694b6c7..7adb478d65a0 100644 --- a/core/hdd/src/wlan_hdd_wext.c +++ b/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;