Page MenuHomeFreeBSD

D34840.diff
No OneTemporary

D34840.diff

diff --git a/sys/dev/usb/input/uhid_snes.c b/sys/dev/usb/input/uhid_snes.c
--- a/sys/dev/usb/input/uhid_snes.c
+++ b/sys/dev/usb/input/uhid_snes.c
@@ -94,7 +94,6 @@
int sc_fflags;
struct usb_fifo *sc_fifo_open[2];
uint8_t sc_zero_length_packets;
- uint8_t sc_previous_status;
uint8_t sc_iid;
uint8_t sc_oid;
uint8_t sc_fid;
@@ -498,7 +497,6 @@
struct uhid_snes_softc *sc = usbd_xfer_softc(transfer);
struct usb_device_request req;
struct usb_page_cache *pc;
- uint8_t current_status, new_status;
switch (USB_GET_STATE(transfer)) {
case USB_ST_SETUP:
@@ -517,13 +515,6 @@
usbd_transfer_submit(transfer);
break;
- case USB_ST_TRANSFERRED:
- pc = usbd_xfer_get_frame(transfer, 1);
- usbd_copy_out(pc, 0, &current_status, 1);
- new_status = current_status & ~sc->sc_previous_status;
- sc->sc_previous_status = current_status;
- break;
-
default:
break;
}

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 19, 9:19 AM (21 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14714005
Default Alt Text
D34840.diff (896 B)

Event Timeline