]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
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 eabd955448237d34bb4fccd99e84f34340e4d50f..36c858e5b529136d8ec76af58454f466a10de793 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;