summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManjunathappa Prakash <prakashpm@codeaurora.org>2016-09-12 13:27:18 -0700
committerqcabuildsw <qcabuildsw@localhost>2016-09-12 18:05:23 -0700
commit169361e309a2b6f35268bebeebc314938251aa5e (patch)
tree5bde90f246706d1f5da10c9e9642be55e566ef34
parent6dbbe0883c6a5d54054d364d85dbb89a61125676 (diff)
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
-rw-r--r--core/hdd/inc/wlan_hdd_napi.h5
1 files 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;
}