git: c3313df3d1c2 - stable/15 - if_bnxt: sysctl: remove unused linux/delay.h include and dead mutex

From: Kevin Bowling <kbowling_at_FreeBSD.org>
Date: Thu, 29 Oct 2026 23:37:16 UTC
The branch stable/15 has been updated by kbowling:

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

commit c3313df3d1c2765546411dcba5a46810e409ff56
Author:     Sumit Saxena <sumit.saxena@broadcom.com>
AuthorDate: 2026-08-05 04:07:55 +0000
Commit:     Kevin Bowling <kbowling@FreeBSD.org>
CommitDate: 2026-10-29 23:15:20 +0000

    if_bnxt: sysctl: remove unused linux/delay.h include and dead mutex
    
    <linux/delay.h> and the DEFINE_MUTEX(tmp_mutex) it enabled are both
    unused in bnxt_sysctl.c: no msleep/udelay/mdelay call remains, and
    tmp_mutex itself was never referenced anywhere.
    
    Reviewed by:    gallatin
    Sponsored by:   Broadcom Inc.
    Differential Revision:  https://reviews.freebsd.org/D59087
    
    (cherry picked from commit 4786d44fef555fe5d4e82f0b716bb2cb0c0c1ecd)
---
 sys/dev/bnxt/bnxt_en/bnxt_sysctl.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/bnxt/bnxt_en/bnxt_sysctl.c b/sys/dev/bnxt/bnxt_en/bnxt_sysctl.c
index ef0550b1bae9..1dd2037b4131 100644
--- a/sys/dev/bnxt/bnxt_en/bnxt_sysctl.c
+++ b/sys/dev/bnxt/bnxt_en/bnxt_sysctl.c
@@ -29,13 +29,11 @@
 #include <sys/types.h>
 #include <sys/sysctl.h>
 #include <sys/ctype.h>
-#include <linux/delay.h>
 
 #include "bnxt.h"
 #include "bnxt_hwrm.h"
 #include "bnxt_sysctl.h"
 
-DEFINE_MUTEX(tmp_mutex); /* mutex lock for driver */
 extern void bnxt_fw_reset(struct bnxt_softc *bp);
 extern void bnxt_queue_sp_work(struct bnxt_softc *bp);
 extern bool