git: 7dce26eded4e - main - usb: hub: uhub_root_intr() mark function arguments as __unused
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 29 Aug 2025 13:18:53 UTC
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);