diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index 82832ca151ad..f93e33c738c7 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -414,11 +414,9 @@ ucom_detach(device_t self, int flags) if (sc->sc_bulkin_pipe != NULL) { usbd_abort_pipe(sc->sc_bulkin_pipe); - sc->sc_bulkin_pipe = NULL; } if (sc->sc_bulkout_pipe != NULL) { usbd_abort_pipe(sc->sc_bulkout_pipe); - sc->sc_bulkout_pipe = NULL; } mutex_enter(&sc->sc_lock);