]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
drivers/usb/host/ohci-hcd.c: fix warning: variable ... set but not used
authorWolfgang Denk <wd@denx.de>
Wed, 5 Oct 2011 21:03:43 +0000 (23:03 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Oct 2011 21:24:49 +0000 (23:24 +0200)
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>
drivers/usb/host/ohci-hcd.c

index bc8bb2061bf5448ab6291bb5af1969c231e4226b..c20d7064277bb82f60a649be5f2caee6cbe09eb6 100644 (file)
@@ -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);