usb: xhci: remove enq_updates and deq_updates from ring
enq_updates and deq_updates were introduced in the first place to check whether an xhci hardware is able to respond to trbs enqueued in the ring. We now have trb tracers to trace every single enqueue/dequeue trb. It's time to remove them and the associated debugging code. 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>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
74e0b5649c
commit
cd12fd9f6d
@@ -315,9 +315,6 @@ static void xhci_initialize_ring_info(struct xhci_ring *ring,
|
||||
* handling ring expansion, set the cycle state equal to the old ring.
|
||||
*/
|
||||
ring->cycle_state = cycle_state;
|
||||
/* Not necessary for new rings, but needed for re-initialized rings */
|
||||
ring->enq_updates = 0;
|
||||
ring->deq_updates = 0;
|
||||
|
||||
/*
|
||||
* Each segment has a link TRB, and leave an extra TRB for SW
|
||||
|
Reference in New Issue
Block a user