]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm920t/s3c24x0/usb_ohci.c: fix warning: variable ... set but not used
authorWolfgang Denk <wd@denx.de>
Thu, 6 Oct 2011 07:22:52 +0000 (09:22 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 9 Oct 2011 21:24:50 +0000 (23:24 +0200)
Fix:
usb_ohci.c: In function 'dl_transfer_length':
usb_ohci.c:768: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>
arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c

index ccc97384f33dc5eea517e42cbca433c996d9cd2d..9a0bbaeb4c9c2334c0970add0236855464bea01c 100644 (file)
@@ -765,10 +765,9 @@ static void td_submit_job(struct usb_device *dev, unsigned long pipe,
 
 static void dl_transfer_length(struct td *td)
 {
-       __u32 tdINFO, tdBE, tdCBP;
+       __u32 tdBE, tdCBP;
        struct urb_priv *lurb_priv = &urb_priv;
 
-       tdINFO = m32_swap(td->hwINFO);
        tdBE = m32_swap(td->hwBE);
        tdCBP = m32_swap(td->hwCBP);