From ea6f3d2a83150359b1628eebe2ec7482723ba215 Mon Sep 17 00:00:00 2001 From: Vulupala Shashank Reddy Date: Mon, 10 May 2021 17:55:32 +0530 Subject: [PATCH] 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 --- components/pkt_capture/core/src/wlan_pkt_capture_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pkt_capture/core/src/wlan_pkt_capture_main.c b/components/pkt_capture/core/src/wlan_pkt_capture_main.c index 2d3046ba443e..c7e1ab34986d 100644 --- a/components/pkt_capture/core/src/wlan_pkt_capture_main.c +++ b/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) {