qcacmn: Fix compilation issues with NAPI stats on WCN6450

Fix compilation issues with NAPI stats on WCN6450

Change-Id: I0339a510c715009255bc00841d44bd06357b252b
CRs-Fixed: 3583455
This commit is contained in:
Manikanta Pubbisetty
2023-08-09 10:21:31 +05:30
gecommit door Rahul Choudhary
bovenliggende 3ed7d8972c
commit bb3b798604

Bestand weergeven

@@ -1025,6 +1025,7 @@ void hif_print_napi_stats(struct hif_opaque_softc *hif_ctx)
}
#endif
#ifdef HIF_LATENCY_PROFILE_ENABLE
void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
{
struct hif_softc *scn = HIF_GET_SOFTC(hif_ctx);
@@ -1041,6 +1042,12 @@ void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
sizeof(napii->sched_latency_stats), 0);
}
}
#else
inline void hif_clear_napi_stats(struct hif_opaque_softc *hif_ctx)
{
}
#endif /* HIF_LATENCY_PROFILE_ENABLE */
#else
static inline void
hif_napi_update_service_start_time(struct qca_napi_info *napi_info)