diff --git a/core/hdd/src/wlan_hdd_driver_ops.c b/core/hdd/src/wlan_hdd_driver_ops.c index 2c58e8e2a533..e335d2b76ba2 100644 --- a/core/hdd/src/wlan_hdd_driver_ops.c +++ b/core/hdd/src/wlan_hdd_driver_ops.c @@ -414,9 +414,6 @@ static inline void hdd_pld_driver_unloading(struct device *dev) */ static void wlan_hdd_remove(struct device *dev) { - void *hif_ctx; - - pr_info("%s: Removing driver v%s\n", WLAN_MODULE_NAME, QWLAN_VERSIONSTR); @@ -434,11 +431,6 @@ static void wlan_hdd_remove(struct device *dev) hdd_pld_driver_unloading(dev); - hif_ctx = cds_get_context(QDF_MODULE_ID_HIF); - - if (NULL == hif_ctx) - return; - if (QDF_IS_EPPING_ENABLED(cds_get_conparam())) { epping_disable(); epping_close();