From 111ad91fa3999460b2be6648f583bcb550c10f52 Mon Sep 17 00:00:00 2001 From: Jeff Johnson Date: Thu, 8 Mar 2018 10:17:56 -0800 Subject: [PATCH] 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 --- core/hdd/inc/wlan_hdd_wext.h | 5 +---- core/hdd/src/wlan_hdd_wext.c | 6 ------ 2 files changed, 1 insertion(+), 10 deletions(-) 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;