Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Jan 2026 19:40:38 +0000
From:      Bjoern A. Zeeb <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: ea8a9265e0fc - stable/14 - usb: hub: uhub_root_intr() mark function arguments as __unused
Message-ID:  <696a9436.c952.3d833279@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch stable/14 has been updated by bz:

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

commit ea8a9265e0fc42700636677303e4175aa83a0344
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-08-20 21:04:18 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2026-01-16 19:37:44 +0000

    usb: hub: uhub_root_intr() mark function arguments as __unused
    
    No functional change.
    
    Sponsored by:   The FreeBSD Foundation
    Reviewed by:    aokblast, imp
    Differential Revision: https://reviews.freebsd.org/D52147
    
    (cherry picked from commit 7dce26eded4e4c8a511ecc7e8522b9a0332386ea)
---
 sys/dev/usb/usb_hub.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/usb/usb_hub.c b/sys/dev/usb/usb_hub.c
index e3509862ef54..ee9d8ab0c9bb 100644
--- a/sys/dev/usb/usb_hub.c
+++ b/sys/dev/usb/usb_hub.c
@@ -954,7 +954,8 @@ done:
  * packet. This function is called having the "bus_mtx" locked.
  *------------------------------------------------------------------------*/
 void
-uhub_root_intr(struct usb_bus *bus, const uint8_t *ptr, uint8_t len)
+uhub_root_intr(struct usb_bus *bus,
+    const uint8_t *ptr __unused, uint8_t len __unused)
 {
 	USB_BUS_LOCK_ASSERT(bus, MA_OWNED);
 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?696a9436.c952.3d833279>