summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2011-11-15 08:01:45 +0000
committerWolfgang Denk <wd@denx.de>2011-11-16 21:13:26 +0100
commitaf0af524ed80f5a5d048e2b283cff325c0dbe9c2 (patch)
treec3733dce1880e773dfaa6644093f7012c465b954 /arch/powerpc
parentd14a94bf686bdcee71924c8bbf76ef67b0b4bb0f (diff)
downloadu-boot-imx-af0af524ed80f5a5d048e2b283cff325c0dbe9c2.zip
u-boot-imx-af0af524ed80f5a5d048e2b283cff325c0dbe9c2.tar.gz
u-boot-imx-af0af524ed80f5a5d048e2b283cff325c0dbe9c2.tar.bz2
usb_ohci.c: Fix GCC 4.6 build warnings
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>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/ppc4xx/usb_ohci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/ppc4xx/usb_ohci.c b/arch/powerpc/cpu/ppc4xx/usb_ohci.c
index fe091e3..065730d 100644
--- a/arch/powerpc/cpu/ppc4xx/usb_ohci.c
+++ b/arch/powerpc/cpu/ppc4xx/usb_ohci.c
@@ -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);