소스 검색

Merge "qca-wifi: cleanup of redundant code under HOST_SW_TSO_ENABLE"

Linux Build Service Account 4 년 전
부모
커밋
15dc45719e
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      tools/linux/cfg80211_ven_cmd.h

+ 3 - 3
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 */
@@ -1685,7 +1685,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