summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-ring.c
diff options
context:
space:
mode:
authorLu Baolu2017-04-07 16:57:08 +0200
committerGreg Kroah-Hartman2017-04-08 12:17:42 +0200
commit8c10152ec52b850f9806c5c2f5a93ebe38838959 (patch)
tree62ae832575ede0b621bf08b311059d6541ff2e12 /drivers/usb/host/xhci-ring.c
parentusb: xhci: remove ring debugging code (diff)
downloadkernel-qcow2-linux-8c10152ec52b850f9806c5c2f5a93ebe38838959.tar.gz
kernel-qcow2-linux-8c10152ec52b850f9806c5c2f5a93ebe38838959.tar.xz
kernel-qcow2-linux-8c10152ec52b850f9806c5c2f5a93ebe38838959.zip
usb: xhci: remove xhci_debug_trb()
Every XHCI TRB has already been traced by the trb trace events. It is unnecessary to put the same message in kernel log. This patch removes xhci_debug_trb(). Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-ring.c')
-rw-r--r--drivers/usb/host/xhci-ring.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index a2bfd75b1ae6..74bf5c60a260 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -2463,10 +2463,6 @@ static int handle_tx_event(struct xhci_hcd *xhci,
xhci_warn(xhci, "WARN Event TRB for slot %d ep %d with no TDs queued?\n",
TRB_TO_SLOT_ID(le32_to_cpu(event->flags)),
ep_index);
- xhci_dbg(xhci, "Event TRB with TRB type ID %u\n",
- (le32_to_cpu(event->flags) &
- TRB_TYPE_BITMASK)>>10);
- xhci_print_trb_offsets(xhci, (union xhci_trb *) event);
}
if (ep->skip) {
ep->skip = false;