소스 검색

qcacmn: Remove unused ini cfg for monitor

Removed unused cfg variable and related function specific to monitor
path.

Change-Id: I906d1a2a50779ac5cae287355a9acaf5b70e479b
CRs-Fixed: 3569504
Santosh Anbu 1 년 전
부모
커밋
436efcf19a
2개의 변경된 파일0개의 추가작업 그리고 15개의 파일을 삭제
  1. 0 5
      wlan_cfg/wlan_cfg.c
  2. 0 10
      wlan_cfg/wlan_cfg.h

+ 0 - 5
wlan_cfg/wlan_cfg.c

@@ -5136,11 +5136,6 @@ int wlan_cfg_get_int_timer_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg)
 	return cfg->int_timer_threshold_other;
 }
 
-int wlan_cfg_get_int_timer_threshold_mon(struct wlan_cfg_dp_soc_ctxt *cfg)
-{
-	return cfg->int_timer_threshold_mon;
-}
-
 int wlan_cfg_get_p2p_checksum_offload(struct wlan_cfg_dp_soc_ctxt *cfg)
 {
 	return cfg->p2p_tcp_udp_checksumoffload;

+ 0 - 10
wlan_cfg/wlan_cfg.h

@@ -173,7 +173,6 @@ struct wlan_srng_cfg {
  * @int_timer_threshold_rx:
  * @int_batch_threshold_other:
  * @int_timer_threshold_other:
- * @int_timer_threshold_mon:
  * @tx_ring_size:
  * @time_control_bp:
  * @qref_control_size: list size for memory history arrays
@@ -381,7 +380,6 @@ struct wlan_cfg_dp_soc_ctxt {
 	int int_timer_threshold_rx;
 	int int_batch_threshold_other;
 	int int_timer_threshold_other;
-	int int_timer_threshold_mon;
 	int tx_ring_size;
 	int time_control_bp;
 	int qref_control_size;
@@ -1537,14 +1535,6 @@ int wlan_cfg_get_int_batch_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg);
  */
 int wlan_cfg_get_int_timer_threshold_other(struct wlan_cfg_dp_soc_ctxt *cfg);
 
-/**
- * wlan_cfg_get_int_timer_threshold_mon - Get int mitigation cfg for mon srngs
- * @cfg: soc configuration context
- *
- * Return: Timer threshold
- */
-int wlan_cfg_get_int_timer_threshold_mon(struct wlan_cfg_dp_soc_ctxt *cfg);
-
 /**
  * wlan_cfg_get_checksum_offload - Get checksum offload enable or disable status
  * @cfg: soc configuration context