From 0cfbd57ebcfc41c03d784771203fc5f6e62a1a44 Mon Sep 17 00:00:00 2001 From: Hans Petter Selasky Date: Tue, 23 Apr 2013 06:26:54 +0000 Subject: [PATCH] Add descriptive comment. --- sys/dev/usb/controller/xhci.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/dev/usb/controller/xhci.c b/sys/dev/usb/controller/xhci.c index 2ab527981ca..e20bcdde3fe 100644 --- a/sys/dev/usb/controller/xhci.c +++ b/sys/dev/usb/controller/xhci.c @@ -554,6 +554,12 @@ xhci_init(struct xhci_softc *sc, device_t self) void xhci_uninit(struct xhci_softc *sc) { + /* + * NOTE: At this point the control transfer process is gone + * and "xhci_configure_msg" is no longer called. Consequently + * waiting for the configuration messages to complete is not + * needed. + */ usb_bus_mem_free_all(&sc->sc_bus, &xhci_iterate_hw_softc); cv_destroy(&sc->sc_cmd_cv);