From 03518e73b4f37dfe2631cb18996460baf04f2041 Mon Sep 17 00:00:00 2001 From: Neha Bisht Date: Fri, 28 Aug 2020 16:12:23 +0530 Subject: [PATCH] qca-wifi: cleanup of redundant code under HOST_SW_TSO_ENABLE Cleanup of redundant code under HOST_SW_TSO_ENABLE macro Change-Id: I1aaa0ef3f55649ef3235d0bd2baeb524f6ad027f --- tools/linux/cfg80211_ven_cmd.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/linux/cfg80211_ven_cmd.h b/tools/linux/cfg80211_ven_cmd.h index 4e1f8d9e59..6a67248c88 100644 --- a/tools/linux/cfg80211_ven_cmd.h +++ b/tools/linux/cfg80211_ven_cmd.h @@ -347,10 +347,10 @@ enum { IEEE80211_PARAM_VAP_TX_ENCAP_TYPE = 343, IEEE80211_PARAM_VAP_RX_DECAP_TYPE = 344, #endif /* ATH_PERF_PWR_OFFLOAD */ -#if (HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE) +#if HOST_SW_TSO_SG_ENABLE IEEE80211_PARAM_TSO_STATS = 345, /* Get TSO Stats */ IEEE80211_PARAM_TSO_STATS_RESET = 346, /* Reset TSO Stats */ -#endif /* HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE */ +#endif /* HOST_SW_TSO_SG_ENABLE */ #if RX_CHECKSUM_OFFLOAD IEEE80211_PARAM_RX_CKSUM_ERR_STATS = 349, /* Get RX CKSUM Err Stats */ IEEE80211_PARAM_RX_CKSUM_ERR_RESET = 350, /* Reset RX CKSUM Err Stats */ @@ -1677,7 +1677,7 @@ struct vendor_commands vap_vendor_cmds[] = { {"decap_type", IEEE80211_PARAM_VAP_RX_DECAP_TYPE, SET_PARAM, 1}, {"get_decap_type", IEEE80211_PARAM_VAP_RX_DECAP_TYPE, GET_PARAM, 0}, #endif -#if (HOST_SW_TSO_ENABLE || HOST_SW_TSO_SG_ENABLE) +#if HOST_SW_TSO_SG_ENABLE {"get_tso_stats", IEEE80211_PARAM_TSO_STATS, GET_PARAM, 0}, {"rst_tso_stats", IEEE80211_PARAM_TSO_STATS_RESET, GET_PARAM, 0}, #endif