diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-04-06 23:45:27 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2022-04-06 23:45:27 +0000 |
commit | 8c3923ae2fef4c337d87705165c3eb671aab5476 (patch) | |
tree | 7fc5bae39984a92262e18b880919cef4bad62439 /sys/dev/usb | |
parent | 4afc92cd6e9828aa9005f8424df6e003ac747e2f (diff) | |
download | src-8c3923ae2fef4c337d87705165c3eb671aab5476.tar.gz src-8c3923ae2fef4c337d87705165c3eb671aab5476.zip |
uhci: Remove write-only variable.
Diffstat (limited to 'sys/dev/usb')
-rw-r--r-- | sys/dev/usb/controller/uhci.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/controller/uhci.c b/sys/dev/usb/controller/uhci.c index 28ae5cd37879..e3189f23c7de 100644 --- a/sys/dev/usb/controller/uhci.c +++ b/sys/dev/usb/controller/uhci.c @@ -1295,7 +1295,6 @@ static uint8_t uhci_check_transfer(struct usb_xfer *xfer) { uint32_t status; - uint32_t token; uhci_td_t *td; DPRINTFN(16, "xfer=%p checking transfer\n", xfer); @@ -1332,7 +1331,6 @@ uhci_check_transfer(struct usb_xfer *xfer) while (1) { usb_pc_cpu_invalidate(td->page_cache); status = le32toh(td->td_status); - token = le32toh(td->td_token); /* * if there is an active TD the transfer isn't done |