summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@suse.de>2010-05-17 11:00:29 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-05-20 13:21:47 -0700
commitc3443a6dbab1545265354d02a7edf95c84b0affd (patch)
tree71bb5bae84ee883122d14ed7503563010202f019 /drivers/usb
parentc024b7260c8f879a2ef3a3e6a853b579a46479f8 (diff)
downloadlinux-c3443a6dbab1545265354d02a7edf95c84b0affd.tar.gz
linux-c3443a6dbab1545265354d02a7edf95c84b0affd.tar.bz2
linux-c3443a6dbab1545265354d02a7edf95c84b0affd.zip
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>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/xhci-ring.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c
index eabd95544823..36c858e5b529 100644
--- a/drivers/usb/host/xhci-ring.c
+++ b/drivers/usb/host/xhci-ring.c
@@ -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;