The branch main has been updated by imp:

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

commit 6ccdcae1b9a693ffddf724cf850424e3b291bca1
Author:     Warner Losh <i...@freebsd.org>
AuthorDate: 2022-04-05 02:27:58 +0000
Commit:     Warner Losh <i...@freebsd.org>
CommitDate: 2022-04-05 04:30:29 +0000

    uhci_xfer_setup: eliminate write only variable sc
    
    Sponsored by:           Netflix
---
 sys/dev/usb/controller/uhci.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c
index 4c72118d9900..28ae5cd37879 100644
--- a/sys/dev/usb/controller/uhci.c
+++ b/sys/dev/usb/controller/uhci.c
@@ -2772,7 +2772,6 @@ uhci_xfer_setup(struct usb_setup_params *parm)
 {
        struct usb_page_search page_info;
        struct usb_page_cache *pc;
-       uhci_softc_t *sc;
        struct usb_xfer *xfer;
        void *last_obj;
        uint32_t ntd;
@@ -2781,7 +2780,6 @@ uhci_xfer_setup(struct usb_setup_params *parm)
        uint32_t n;
        uint16_t align;
 
-       sc = UHCI_BUS2SC(parm->udev->bus);
        xfer = parm->curr_xfer;
 
        parm->hc_max_packet_size = 0x500;

Reply via email to