aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAndrew Thompson <thompsa@FreeBSD.org>2010-04-06 23:25:19 +0000
committerAndrew Thompson <thompsa@FreeBSD.org>2010-04-06 23:25:19 +0000
commit15a1f2780d7589106a1706678e2c3598c21bb5db (patch)
tree6dcd0342a272b3cb6e70dd4b3707418924811cec /sys
parent18fef95d4931cb0d01586ffcd325282b5b20ac09 (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/usb/serial/uvisor.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/dev/usb/serial/uvisor.c b/sys/dev/usb/serial/uvisor.c
index 9e6daa97cfa3..fbd4afe1c064 100644
--- a/sys/dev/usb/serial/uvisor.c
+++ b/sys/dev/usb/serial/uvisor.c
@@ -345,11 +345,6 @@ uvisor_attach(device_t dev)
DPRINTF("could not allocate all pipes\n");
goto detach;
}
- /* clear stall at first run */
- mtx_lock(&sc->sc_mtx);
- usbd_xfer_set_stall(sc->sc_xfer[UVISOR_BULK_DT_WR]);
- usbd_xfer_set_stall(sc->sc_xfer[UVISOR_BULK_DT_RD]);
- mtx_unlock(&sc->sc_mtx);
error = ucom_attach(&sc->sc_super_ucom, &sc->sc_ucom, 1, sc,
&uvisor_callback, &sc->sc_mtx);