]> git.sur5r.net Git - u-boot/commitdiff
usb_ohci.c: Fix GCC 4.6 build warnings
authorStefan Roese <sr@denx.de>
Tue, 15 Nov 2011 08:01:45 +0000 (08:01 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:13:26 +0000 (21:13 +0100)
Fix:
usb_ohci.c: In function 'dl_transfer_length':
usb_ohci.c:756:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable]

Signed-off-by: Stefan Roese <sr@denx.de>
arch/powerpc/cpu/ppc4xx/usb_ohci.c

index fe091e3fa083c6e5e1efa2c4c2020aaa4338910a..065730d882bba73a80caa316ee91d5eff53484c9 100644 (file)
@@ -753,10 +753,9 @@ static void td_submit_job (struct usb_device *dev, unsigned long pipe, void *buf
 
 static void dl_transfer_length(td_t * td)
 {
-       __u32 tdINFO, tdBE, tdCBP;
+       __u32 tdBE, tdCBP;
        urb_priv_t *lurb_priv = &urb_priv;
 
-       tdINFO = ohci_cpu_to_le32 (td->hwINFO);
        tdBE   = ohci_cpu_to_le32 (td->hwBE);
        tdCBP  = ohci_cpu_to_le32 (td->hwCBP);