Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Aug 2025 13:18:53 GMT
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 7dce26eded4e - main - usb: hub: uhub_root_intr() mark function arguments as __unused
Message-ID:  <202508291318.57TDIrIR072005@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bz:

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

commit 7dce26eded4e4c8a511ecc7e8522b9a0332386ea
Author:     Bjoern A. Zeeb <bz@FreeBSD.org>
AuthorDate: 2025-08-20 21:04:18 +0000
Commit:     Bjoern A. Zeeb <bz@FreeBSD.org>
CommitDate: 2025-08-29 13:18:40 +0000

    usb: hub: uhub_root_intr() mark function arguments as __unused
    
    No functional change.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
    Reviewed by:    aokblast, imp
    Differential Revision: https://reviews.freebsd.org/D52147
---
 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);
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202508291318.57TDIrIR072005>