Browse Source

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
Ryan Hsu 6 years ago
parent
commit
338cc11b96
1 changed files with 0 additions and 2 deletions
  1. 0 2
      components/ipa/core/src/wlan_ipa_stats.c

+ 0 - 2
components/ipa/core/src/wlan_ipa_stats.c

@@ -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);
 	if (!iface_ctx) {
 		ipa_err("IPA uC share stats failed - no iface");
-		QDF_IPA_GET_WDI_SAP_STATS_STATS_VALID(wdi_sap_stats) =
-			0;
 		return;
 	}