diff --git a/core/hdd/inc/wlan_hdd_tx_rx.h b/core/hdd/inc/wlan_hdd_tx_rx.h index 460e733e90af..a028fdda3039 100644 --- a/core/hdd/inc/wlan_hdd_tx_rx.h +++ b/core/hdd/inc/wlan_hdd_tx_rx.h @@ -430,14 +430,7 @@ void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx); * Return: None */ void hdd_reset_tcp_adv_win_scale(struct hdd_context *hdd_ctx); -#ifdef RX_PERFORMANCE bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx); -#else -static inline bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx) -{ - return false; -} -#endif #define HDD_MSM_CFG(msm_cfg) msm_cfg #else static inline void hdd_reset_tcp_delack(struct hdd_context *hdd_ctx) {} diff --git a/core/hdd/src/wlan_hdd_tx_rx.c b/core/hdd/src/wlan_hdd_tx_rx.c index 9d573cf80932..80ba2fe65e2d 100644 --- a/core/hdd/src/wlan_hdd_tx_rx.c +++ b/core/hdd/src/wlan_hdd_tx_rx.c @@ -3411,7 +3411,6 @@ void hdd_reset_tcp_adv_win_scale(struct hdd_context *hdd_ctx) * * Return: True if vote level is high */ -#ifdef RX_PERFORMANCE bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx) { if (hdd_ctx->cur_vote_level < PLD_BUS_WIDTH_MEDIUM) @@ -3420,7 +3419,6 @@ bool hdd_is_current_high_throughput(struct hdd_context *hdd_ctx) return true; } #endif -#endif #ifdef QCA_LL_LEGACY_TX_FLOW_CONTROL /**