From 169361e309a2b6f35268bebeebc314938251aa5e Mon Sep 17 00:00:00 2001 From: Manjunathappa Prakash Date: Mon, 12 Sep 2016 13:27:18 -0700 Subject: [PATCH] qcacld-3.0: Fix multi queue NAPI build errors Fix build errors on the platform where multi queue NAPI is not supported. Change-Id: Id9916cff11f9337f279f9aed6dfe35e7a6beb1ed CRs-Fixed: 1065872 --- core/hdd/inc/wlan_hdd_napi.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/core/hdd/inc/wlan_hdd_napi.h b/core/hdd/inc/wlan_hdd_napi.h index 9ea15773e72a..460af7e878e4 100644 --- a/core/hdd/inc/wlan_hdd_napi.h +++ b/core/hdd/inc/wlan_hdd_napi.h @@ -66,8 +66,9 @@ int hdd_napi_apply_throughput_policy(struct hdd_context_s *hddctx, uint64_t tx_packets, uint64_t rx_packets); #else /* FEATURE_NAPI and NOT HELIUM */ -static inline int hdd_napi_apply_throughput_policy(struct hdd_context_s *, - uint64_t, uint64_t) +static inline int hdd_napi_apply_throughput_policy(struct hdd_context_s *hddctx, + uint64_t tx_packets, + uint64_t rx_packets) { return 0; }