qcacld-3.0: remove the unnecessary stats reset operation

In the case of invalid iface_ctx, the stats reset operation is not
needed, so removed it.

Change-Id: I48b4b42717451e1ccbfc9753147e65d35ff78df4
CRs-fixed: 2254683
This commit is contained in:
Ryan Hsu
2018-06-07 15:21:27 -07:00
committed by nshrivas
parent 70a7220e37
commit 338cc11b96

View File

@@ -868,8 +868,6 @@ void wlan_ipa_wdi_meter_notifier_cb(qdf_ipa_wdi_meter_evt_type_t evt,
iface_ctx = wlan_ipa_get_iface(ipa_ctx, QDF_STA_MODE); iface_ctx = wlan_ipa_get_iface(ipa_ctx, QDF_STA_MODE);
if (!iface_ctx) { if (!iface_ctx) {
ipa_err("IPA uC share stats failed - no iface"); ipa_err("IPA uC share stats failed - no iface");
QDF_IPA_GET_WDI_SAP_STATS_STATS_VALID(wdi_sap_stats) =
0;
return; return;
} }