Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102887459
D34840.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
896 B
Referenced Files
None
Subscribers
None
D34840.diff
View Options
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, ¤t_status, 1);
- new_status = current_status & ~sc->sc_previous_status;
- sc->sc_previous_status = current_status;
- break;
-
default:
break;
}
File Metadata
Details
Attached
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)
Attached To
Mode
D34840: uhid_snes: Remove USB_ST_TRANSFERRED handling for the status request.
Attached
Detach File
Event Timeline
Log In to Comment