Sfoglia il codice sorgente

qcacld-3.0: Fix compilation error because of unused variable

Fix compilation error due to unused variable tx_retry_cnt
in packet capture.

Change-Id: I9df7ae71723390fb6e1f58495efbb8bdfe42edf4
CRs-Fixed: 2942168
Vulupala Shashank Reddy 3 anni fa
parent
commit
13d111a33a
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      components/pkt_capture/core/src/wlan_pkt_capture_main.c

+ 1 - 1
components/pkt_capture/core/src/wlan_pkt_capture_main.c

@@ -128,7 +128,7 @@ void pkt_capture_callback(void *soc, enum WDI_EVENT event, void *log_data,
 			  u_int16_t vdev_id, uint32_t status)
 {
 	uint8_t bssid[QDF_MAC_ADDR_SIZE];
-	uint8_t tid = 0, tx_retry_cnt = 0;
+	uint8_t tid = 0;
 	struct dp_soc *psoc = soc;
 
 	switch (event) {