summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu/mpc5xxx
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-11-04 15:55:10 +0000
committerWolfgang Denk <wd@denx.de>2011-11-07 22:09:42 +0100
commita44217304862769702973720fbb09c80297bcb1d (patch)
treeba4b97bd93d1b8125f7a37858455a89ee5d8a3d8 /arch/powerpc/cpu/mpc5xxx
parent65766f38522cc48cab8380f7442cc489ff5020c0 (diff)
downloadu-boot-imx-a44217304862769702973720fbb09c80297bcb1d.zip
u-boot-imx-a44217304862769702973720fbb09c80297bcb1d.tar.gz
u-boot-imx-a44217304862769702973720fbb09c80297bcb1d.tar.bz2
arch/powerpc/cpu/mpc5xxx/usb_ohci.c: fix GCC 4.6 build warnings
Fix: usb_ohci.c: In function 'dl_transfer_length': usb_ohci.c:751:8: warning: variable 'tdINFO' set but not used [-Wunused-but-set-variable] Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'arch/powerpc/cpu/mpc5xxx')
-rw-r--r--arch/powerpc/cpu/mpc5xxx/usb_ohci.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
index 2fc1180..d250c19 100644
--- a/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
+++ b/arch/powerpc/cpu/mpc5xxx/usb_ohci.c
@@ -748,10 +748,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);