summaryrefslogtreecommitdiff
path: root/drivers/usb
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-10-05 23:03:43 +0200
committerWolfgang Denk <wd@denx.de>2011-10-09 23:24:49 +0200
commit6bc52ef35c0eee8a6b74f01bbea0471ad39421a1 (patch)
tree63345e22c196c9f7911d4dc8ff8b857e36cd9f0a /drivers/usb
parent10f4dd784f7738c1207ba84b4712ac26c155be43 (diff)
downloadu-boot-imx-6bc52ef35c0eee8a6b74f01bbea0471ad39421a1.zip
u-boot-imx-6bc52ef35c0eee8a6b74f01bbea0471ad39421a1.tar.gz
u-boot-imx-6bc52ef35c0eee8a6b74f01bbea0471ad39421a1.tar.bz2
drivers/usb/host/ohci-hcd.c: fix warning: variable ... set but not used
Fix: ohci-hcd.c: In function 'dl_transfer_length': ohci-hcd.c:968:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Remy Bohmer <linux@bohmer.net> Acked-by: Remy Bohmer <linux@bohmer.net>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/host/ohci-hcd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/host/ohci-hcd.c b/drivers/usb/host/ohci-hcd.c
index bc8bb20..c20d706 100644
--- a/drivers/usb/host/ohci-hcd.c
+++ b/drivers/usb/host/ohci-hcd.c
@@ -965,10 +965,9 @@ static void td_submit_job(struct usb_device *dev, unsigned long pipe,
static void dl_transfer_length(td_t *td)
{
- __u32 tdINFO, tdBE, tdCBP;
+ __u32 tdBE, tdCBP;
urb_priv_t *lurb_priv = td->ed->purb;
- tdINFO = m32_swap(td->hwINFO);
tdBE = m32_swap(td->hwBE);
tdCBP = m32_swap(td->hwCBP);