That message doesn't bring a lot of extra information. What it prints
can be understood from the existing tracepoints.

Signed-off-by: Felipe Balbi <felipe.ba...@linux.intel.com>
---
 drivers/usb/host/xhci.c | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c
index 5d2c24f58b34..a62f5d34eab7 100644
--- a/drivers/usb/host/xhci.c
+++ b/drivers/usb/host/xhci.c
@@ -1487,18 +1487,7 @@ static int xhci_urb_dequeue(struct usb_hcd *hcd, struct 
urb *urb, int status)
                goto err_giveback;
        }
 
-       i = urb_priv->num_tds_done;
-       if (i < urb_priv->num_tds)
-               xhci_dbg_trace(xhci, trace_xhci_dbg_cancel_urb,
-                               "Cancel URB %p, dev %s, ep 0x%x, "
-                               "starting at offset 0x%llx",
-                               urb, urb->dev->devpath,
-                               urb->ep->desc.bEndpointAddress,
-                               (unsigned long long) xhci_trb_virt_to_dma(
-                                       urb_priv->td[i].start_seg,
-                                       urb_priv->td[i].first_trb));
-
-       for (; i < urb_priv->num_tds; i++) {
+       for (i = urb_priv->num_tds_done; i < urb_priv->num_tds; i++) {
                td = &urb_priv->td[i];
                list_add_tail(&td->cancelled_td_list, &ep->cancelled_td_list);
        }
-- 
2.16.1

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to