Commit c3443a6d authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

USB: xhci: fix compiler warning.

Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent c024b726
...@@ -1743,7 +1743,6 @@ static int prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring, ...@@ -1743,7 +1743,6 @@ static int prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring,
if (enqueue_is_link_trb(ep_ring)) { if (enqueue_is_link_trb(ep_ring)) {
struct xhci_ring *ring = ep_ring; struct xhci_ring *ring = ep_ring;
union xhci_trb *next; union xhci_trb *next;
unsigned long long addr;
xhci_dbg(xhci, "prepare_ring: pointing to link trb\n"); xhci_dbg(xhci, "prepare_ring: pointing to link trb\n");
next = ring->enqueue; next = ring->enqueue;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment