git: 863f58e7593d - stable/15 - ath10k: remove some early FreeBSD-specific debugging

From: Bjoern A. Zeeb <bz_at_FreeBSD.org>
Date: Thu, 10 Sep 2026 09:48:38 UTC
The branch stable/15 has been updated by bz:

URL: https://cgit.FreeBSD.org/src/commit/?id=863f58e7593d8b29f6af9c9e11edcaba2a4d1d13

commit 863f58e7593d8b29f6af9c9e11edcaba2a4d1d13
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2026-02-19 23:21:10 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-09-10 09:46:53 +0000

    ath10k: remove some early FreeBSD-specific debugging
    
    The extra DELAY seems to no longer be needed and the dump_stack()
    is definitively a problem now.  Remove all this.
    
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 523c3992cf9e50dce7948372ef703f0057e22561)
---
 sys/contrib/dev/athk/ath10k/pci.c | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/sys/contrib/dev/athk/ath10k/pci.c b/sys/contrib/dev/athk/ath10k/pci.c
index f4c9af1e12fc..25dc48c0c591 100644
--- a/sys/contrib/dev/athk/ath10k/pci.c
+++ b/sys/contrib/dev/athk/ath10k/pci.c
@@ -1460,16 +1460,6 @@ int ath10k_pci_hif_tx_sg(struct ath10k *ar, u8 pipe_id,
 #elif defined(__FreeBSD__)
 		   "pci tx item %d paddr %pad len %d n_items %d pipe_id %u\n",
 		   i, &items[i].paddr, items[i].len, n_items, pipe_id);
-	/*
-	 * XXX-BZ specific debug; the DELAY makes things work for one chipset.
-	 * There's likely a race somewhere (here or LinuxKPI).
-	 */
-	if (n_items == 1 && items[i].len == 140) {
-		ath10k_dbg_dump(ar, ATH10K_DBG_PCI, NULL, "pci tx data: ",
-				items[i].vaddr, items[i].len);
-		dump_stack();
-		DELAY(500);
-	}
 #endif
 	ath10k_dbg_dump(ar, ATH10K_DBG_PCI_DUMP, NULL, "pci tx data: ",
 			items[i].vaddr, items[i].len);