USB: xhci: fix compiler warning.
authorGreg Kroah-Hartman <gregkh@suse.de>
Mon, 17 May 2010 18:00:29 +0000 (11:00 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 May 2010 20:21:47 +0000 (13:21 -0700)
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>
drivers/usb/host/xhci-ring.c

index eabd955..36c858e 100644 (file)
@@ -1743,7 +1743,6 @@ static int prepare_ring(struct xhci_hcd *xhci, struct xhci_ring *ep_ring,
        if (enqueue_is_link_trb(ep_ring)) {
                struct xhci_ring *ring = ep_ring;
                union xhci_trb *next;
-               unsigned long long addr;
 
                xhci_dbg(xhci, "prepare_ring: pointing to link trb\n");
                next = ring->enqueue;