USB: xhci: fix compiler warning.
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Cc: Sarah Sharp <sarah.a.sharp@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user